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

15 lines
275 B
JavaScript
Raw Permalink 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',
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);