wisemapping-frontend/packages/mindplot/webpack.prod.js

14 lines
318 B
JavaScript
Raw Permalink Normal View History

2021-07-16 16:41:58 +02:00
const { merge } = require('webpack-merge');
const common = require('./webpack.common');
2023-08-01 07:56:25 +02:00
// const pkg = require('./package.json');
2021-07-16 16:41:58 +02:00
const prodConfig = {
optimization: {
2022-01-06 03:02:55 +01:00
usedExports: true,
2021-12-22 05:38:13 +01:00
minimize: true,
},
2023-08-01 07:56:25 +02:00
// externals: [...Object.keys(pkg.dependencies)],
2021-07-16 16:41:58 +02:00
};
module.exports = merge(common, prodConfig);