Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
50857601
Commit
50857601
authored
3 years ago
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 集成报表菜单
parent
cbe272ff
Pipeline
#42993
passed with stages
in 17 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
webpack.prod.babel.js
internals/webpack/webpack.prod.babel.js
+27
-27
No files found.
internals/webpack/webpack.prod.babel.js
View file @
50857601
...
...
@@ -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
:
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment