mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-21 22:27:56 +01:00
Fix mindplot inclusion of web2d.
This commit is contained in:
parent
99cef6f8ee
commit
bc9e6d0171
@ -1,13 +1,13 @@
|
|||||||
const { merge } = require('webpack-merge');
|
const { merge } = require('webpack-merge');
|
||||||
const common = require('./webpack.common');
|
const common = require('./webpack.common');
|
||||||
const pkg = require('./package.json');
|
// const pkg = require('./package.json');
|
||||||
|
|
||||||
const prodConfig = {
|
const prodConfig = {
|
||||||
optimization: {
|
optimization: {
|
||||||
usedExports: true,
|
usedExports: true,
|
||||||
minimize: true,
|
minimize: true,
|
||||||
},
|
},
|
||||||
externals: [...Object.keys(pkg.dependencies)],
|
// externals: [...Object.keys(pkg.dependencies)],
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = merge(common, prodConfig);
|
module.exports = merge(common, prodConfig);
|
||||||
|
Loading…
Reference in New Issue
Block a user