wisemapping-frontend/packages/core-js/webpack.prod.js
2023-02-10 02:51:52 +00:00

21 lines
358 B
JavaScript

const { merge } = require('webpack-merge');
const common = require('./webpack.common');
const prodConfig = {
mode: 'production',
devtool: 'source-map',
output: {
library: {
type: 'umd',
},
},
optimization: {
splitChunks: {
chunks: 'all',
usedExports: true,
},
},
};
module.exports = merge(common, prodConfig);