wisemapping-frontend/packages/editor/webpack.prod.js
Matias Arriola 8ccc4e798e Refactor editor init
Add inline images to editor footer
Move playground to editor
2022-01-24 17:22:39 -03: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);