Fix mindplot inclusion of web2d.

This commit is contained in:
Paulo Gustavo Veiga 2023-07-31 22:56:25 -07:00
parent 99cef6f8ee
commit bc9e6d0171

View File

@ -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);