mirror of https://github.com/webpack/webpack.git
23 lines
408 B
JavaScript
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
|
|
}
|
|
};
|