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

16 lines
300 B
JavaScript
Raw Normal View History

const { merge } = require('webpack-merge');
const common = require('./webpack.common');
2021-07-16 16:41:58 +02:00
const prodConfig = {
2022-07-13 03:58:11 +02:00
mode: 'production',
devtool: 'source-map',
optimization: {
splitChunks: {
chunks: 'all',
2022-11-03 02:17:00 +01:00
usedExports: true,
2021-07-16 16:41:58 +02:00
},
2022-07-13 03:58:11 +02:00
},
2021-07-16 16:41:58 +02:00
};
module.exports = merge(common, prodConfig);