mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-14 11:17:57 +01:00
17 lines
320 B
JavaScript
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);
|