webpack/examples/extra-async-chunk/webpack.config.js

10 lines
255 B
JavaScript
Raw Normal View History

module.exports = {
// mode: "development || "production",
optimization: {
splitChunks: {
minSize: 0 // This example is too small
},
2018-07-15 04:16:32 +08:00
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
}
2017-01-11 17:51:58 +08:00
};