wisemapping-frontend/packages/mindplot/webpack.prod.js
2021-12-19 18:46:47 -08:00

16 lines
299 B
JavaScript

const { merge } = require('webpack-merge');
const common = require('./webpack.common');
const prodConfig = {
mode: 'production',
devtool: 'source-map',
optimization: {
splitChunks: {
chunks: 'all',
minSize: 2000000,
},
},
};
module.exports = merge(common, prodConfig);