mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-22 03:33:48 +01:00
14 lines
318 B
JavaScript
14 lines
318 B
JavaScript
const { merge } = require('webpack-merge');
|
|
const common = require('./webpack.common');
|
|
// const pkg = require('./package.json');
|
|
|
|
const prodConfig = {
|
|
optimization: {
|
|
usedExports: true,
|
|
minimize: true,
|
|
},
|
|
// externals: [...Object.keys(pkg.dependencies)],
|
|
};
|
|
|
|
module.exports = merge(common, prodConfig);
|