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

16 lines
328 B
JavaScript
Raw Normal View History

2021-07-16 16:41:58 +02:00
const { merge } = require('webpack-merge');
const common = require('./webpack.common');
/** @type {import('webpack').Configuration} */
const prodConfig = {
mode: 'production',
devtool: 'source-map',
optimization: {
/* splitChunks: {
2021-07-16 16:41:58 +02:00
chunks: "all",
}, */
},
2021-07-16 16:41:58 +02:00
};
module.exports = merge(common, prodConfig);