wisemapping-frontend/packages/editor/webpack.prod.js
2022-01-25 18:10:40 +00:00

17 lines
320 B
JavaScript

const { merge } = require('webpack-merge');
const common = require('./webpack.common');
const prodConfig = {
optimization: {
usedExports: true,
minimize: true,
},
externals: {
react: 'react',
reactDOM: 'react-dom',
reactIntl: 'react-intl',
},
};
module.exports = merge(common, prodConfig);