25 lines
346 B
JavaScript
25 lines
346 B
JavaScript
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
mode: "development",
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.(png|svg)$/,
|
|
type: "asset/inline"
|
|
},
|
|
{
|
|
test: /\.jpg$/,
|
|
type: "asset",
|
|
parser: {
|
|
dataUrlCondition: {
|
|
maxSize: Infinity
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
experiments: {
|
|
asset: true
|
|
}
|
|
};
|