wisemapping-frontend/packages/webcomponent/webpack.prod.js
2021-09-29 17:24:07 -03:00

16 lines
344 B
JavaScript

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