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')({ ...@@ -20,28 +20,28 @@ module.exports = require('./webpack.base.babel')({
optimization: { optimization: {
minimize: true, minimize: true,
minimizer: [ // minimizer: [
new TerserPlugin({ // new TerserPlugin({
terserOptions: { // terserOptions: {
warnings: false, // warnings: false,
compress: { // compress: {
comparisons: false, // comparisons: false,
}, // },
drop_debugger: true, // drop_debugger: true,
drop_console: true, // drop_console: true,
pure_funcs: ['console.log'], // pure_funcs: ['console.log'],
parse: {}, // parse: {},
mangle: true, // mangle: true,
output: { // output: {
comments: false, // comments: false,
ascii_only: true, // ascii_only: true,
}, // },
}, // },
parallel: true, // parallel: true,
cache: true, // cache: true,
sourceMap: true, // sourceMap: true,
}), // }),
], // ],
nodeEnv: 'production', nodeEnv: 'production',
// chunkIds: "deterministic", // chunkIds: "deterministic",
// moduleIds: "deterministic", // moduleIds: "deterministic",
...@@ -92,11 +92,11 @@ module.exports = require('./webpack.base.babel')({ ...@@ -92,11 +92,11 @@ module.exports = require('./webpack.base.babel')({
minRatio: 0.8, minRatio: 0.8,
}), }),
new webpack.ids.HashedModuleIdsPlugin({ // new webpack.ids.HashedModuleIdsPlugin({
hashFunction: 'sha256', // hashFunction: 'sha256',
hashDigest: 'hex', // hashDigest: 'hex',
hashDigestLength: 20, // hashDigestLength: 20,
}), // }),
], ],
performance: { 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