mirror of https://github.com/webpack/webpack.git
25 lines
353 B
JavaScript
25 lines
353 B
JavaScript
"use strict";
|
|
|
|
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
output: {
|
|
module: true
|
|
},
|
|
experiments: {
|
|
outputModule: true
|
|
},
|
|
target: "es2020",
|
|
optimization: {
|
|
splitChunks: {
|
|
cacheGroups: {
|
|
common: {
|
|
test: /common\.js/,
|
|
minSize: 0,
|
|
chunks: "all",
|
|
filename: "common.mjs"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|