-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathterser.config.json
42 lines (42 loc) · 977 Bytes
/
terser.config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"ecma": 2022,
"enclose": false,
"keep_classnames": false,
"keep_fnames": false,
"ie8": false,
"nameCache": {},
"safari10": false,
"toplevel": true,
"mangle": {
"properties": {
"keep_quoted": false,
"regex": ".*"
}
},
"compress": {
"sequences": true,
"properties": true,
"dead_code": true,
"drop_debugger": true,
"conditionals": true,
"comparisons": true,
"evaluate": true,
"booleans": true,
"loops": true,
"unused": true,
"hoist_funs": true,
"keep_fargs": false,
"if_return": true,
"join_vars": true,
"collapse_vars": true,
"reduce_vars": true,
"side_effects": true,
"pure_getters": true,
"pure_funcs": null,
"negate_iife": true,
"drop_console": false,
"passes": 3
},
"module": false,
"wrap": "window"
}