webpack/test/statsCases/split-chunks-issue-6413/webpack.config.js

32 lines
448 B
JavaScript

"use strict";
const stats = {
hash: false,
timings: false,
builtAt: false,
assets: false,
chunks: true,
chunkRelations: true,
chunkOrigins: true,
entrypoints: true,
modules: false
};
/** @type {import("../../../").Configuration} */
module.exports = {
name: "default",
mode: "production",
entry: {
main: "./"
},
output: {
filename: "[name].js"
},
optimization: {
splitChunks: {
minSize: 0 // enforce all
}
},
stats
};