2021-07-23 01:25:41 +00:00
|
|
|
const { merge } = require("webpack-merge");
|
|
|
|
const common = require("./webpack.common");
|
|
|
|
|
|
|
|
let config = {
|
|
|
|
mode: "production",
|
|
|
|
devtool: "nosources-source-map",
|
2021-07-24 04:45:10 +00:00
|
|
|
optimization: {
|
|
|
|
mangleExports: "size",
|
|
|
|
moduleIds: "size",
|
|
|
|
chunkIds: "size",
|
|
|
|
}
|
2021-07-23 01:25:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = merge(common, config);
|