webpack/test/watchCases/cache/changing-module-id/webpack.config.js

26 lines
359 B
JavaScript

"use strict";
/** @type {import("../../../../").Configuration} */
module.exports = {
mode: "development",
cache: {
type: "memory"
},
optimization: {
sideEffects: false,
providedExports: false
},
module: {
rules: [
{
test: /other-layer/,
layer: "other-layer"
}
]
},
experiments: {
cacheUnaffected: true,
layers: true
}
};