mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-27 05:43:49 +01:00
15 lines
297 B
JavaScript
15 lines
297 B
JavaScript
|
const { merge } = require('webpack-merge');
|
||
|
const common = require('./webpack.common');
|
||
|
|
||
|
const prodConfig = {
|
||
|
mode: 'production',
|
||
|
devtool: 'source-map',
|
||
|
optimization: {
|
||
|
splitChunks: {
|
||
|
chunks: 'all',
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
module.exports = merge(common, prodConfig);
|