mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-14 03:07:57 +01:00
16 lines
300 B
JavaScript
16 lines
300 B
JavaScript
const { merge } = require('webpack-merge');
|
|
const common = require('./webpack.common');
|
|
|
|
const prodConfig = {
|
|
mode: 'production',
|
|
devtool: 'source-map',
|
|
optimization: {
|
|
splitChunks: {
|
|
chunks: 'all',
|
|
usedExports: true,
|
|
},
|
|
},
|
|
};
|
|
|
|
module.exports = merge(common, prodConfig);
|