14 lines
318 B
JavaScript
Raw Normal View History

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