webpack/test/configCases/defer-import/defer-runtime-concat-strict/webpack.config.js

23 lines
408 B
JavaScript

/** @type {import("../../../../").Configuration} */
module.exports = {
output: {
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
environment: {
optionalChaining: false
}
},
entry: ["../defer-runtime/all.js"],
optimization: {},
module: {
rules: [
{
test: /index\.js/,
type: "javascript/esm"
}
]
},
experiments: {
deferImport: true
}
};