-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.json
91 lines (89 loc) · 3.06 KB
/
build.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"browserify": {
"transforms": [
["babelify", {
"plugins": [
"check-es2015-constants",
"transform-es2015-arrow-functions",
"transform-es2015-block-scoped-functions",
"transform-es2015-block-scoping", ["transform-es2015-classes", {
"loose": true
}],
["transform-es2015-computed-properties", {
"loose": true
}],
["transform-es2015-destructuring", {
"loose": true
}],
["transform-es2015-for-of", {
"loose": true
}],
"transform-es2015-function-name",
"transform-es2015-literals", ["transform-es2015-modules-commonjs", {
"loose": true
}],
"transform-es2015-object-super",
"transform-es2015-parameters",
"transform-es2015-shorthand-properties",
"transform-es2015-spread",
"transform-es2015-sticky-regex", ["transform-es2015-template-literals", {
"loose": true
}],
"transform-es2015-unicode-regex",
"external-helpers-2",
"transform-proto-to-assign"
],
"sourceMaps": true
}],
["htmlminifyify", {
"collapseBooleanAttributes": true,
"collapseWhitespace": true,
"removeAttributeQuotes": false,
"removeComments": true,
"removeEmptyAttributes": true,
"removeRedundantAttributes": true,
"removeScriptTypeAttributes": true,
"removeStyleLinkTypeAttributes": true
}]
]
},
"uglify": {
"output": {
"indent_start": 0,
"indent_level": 4,
"quote_keys": false,
"space_colon": true,
"ascii_only": false,
"inline_script": false,
"width": 80,
"max_line_len": 32000,
"screw_ie8": true,
"beautify": false,
"source_map": null,
"bracketize": false,
"comments": false,
"semicolons": true
},
"compress": {
"sequences": true,
"properties": true,
"dead_code": true,
"drop_debugger": true,
"unsafe": false,
"conditionals": true,
"comparisons": true,
"evaluate": true,
"booleans": true,
"loops": true,
"unused": true,
"hoist_funs": true,
"hoist_vars": false,
"if_return": true,
"join_vars": true,
"cascade": true,
"side_effects": true,
"warnings": true,
"global_defs": {}
}
}
}