wisemapping-frontend/packages/mindplot/webpack.prod.js

17 lines
374 B
JavaScript
Raw Normal View History

2021-07-16 16:41:58 +02:00
const { merge } = require('webpack-merge');
const common = require('./webpack.common');
/** @type {import('webpack').Configuration} */
const prodConfig = {
mode: 'production',
devtool: 'source-map',
optimization: {
splitChunks: {
chunks: 'all',
2021-09-08 22:45:26 +02:00
minSize: 2000000,
2021-07-16 16:41:58 +02:00
},
},
};
module.exports = merge(common, prodConfig);