mirror of https://github.com/webpack/webpack.git
29 lines
404 B
JavaScript
29 lines
404 B
JavaScript
"use strict";
|
|
|
|
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
target: "web",
|
|
output: {
|
|
chunkFilename: "[name].js",
|
|
crossOriginLoading: "anonymous"
|
|
},
|
|
optimization: {
|
|
minimize: false,
|
|
splitChunks: {
|
|
minSize: 1
|
|
}
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /d\.js$/,
|
|
parser: {
|
|
javascript: {
|
|
dynamicImportFetchPriority: "low"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
};
|