Commit 50857601 authored by 邓晓峰's avatar 邓晓峰

feat: 集成报表菜单

parent cbe272ff
Pipeline #42993 passed with stages
in 17 seconds
......@@ -20,28 +20,28 @@ module.exports = require('./webpack.base.babel')({
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
terserOptions: {
warnings: false,
compress: {
comparisons: false,
},
drop_debugger: true,
drop_console: true,
pure_funcs: ['console.log'],
parse: {},
mangle: true,
output: {
comments: false,
ascii_only: true,
},
},
parallel: true,
cache: true,
sourceMap: true,
}),
],
// minimizer: [
// new TerserPlugin({
// terserOptions: {
// warnings: false,
// compress: {
// comparisons: false,
// },
// drop_debugger: true,
// drop_console: true,
// pure_funcs: ['console.log'],
// parse: {},
// mangle: true,
// output: {
// comments: false,
// ascii_only: true,
// },
// },
// parallel: true,
// cache: true,
// sourceMap: true,
// }),
// ],
nodeEnv: 'production',
// chunkIds: "deterministic",
// moduleIds: "deterministic",
......@@ -92,11 +92,11 @@ module.exports = require('./webpack.base.babel')({
minRatio: 0.8,
}),
new webpack.ids.HashedModuleIdsPlugin({
hashFunction: 'sha256',
hashDigest: 'hex',
hashDigestLength: 20,
}),
// new webpack.ids.HashedModuleIdsPlugin({
// hashFunction: 'sha256',
// hashDigest: 'hex',
// hashDigestLength: 20,
// }),
],
performance: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment