-
Notifications
You must be signed in to change notification settings - Fork 46
/
app.build.js
43 lines (43 loc) · 1000 Bytes
/
app.build.js
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
({
appDir: "public_html",
baseUrl: "js",
dir: "public_html_optimized",
removeCombined: true,
modules: [
{
name: "main"
}
],
optimize: "uglify2",
generateSourceMaps: false,
preserveLicenseComments: false,
uglify2:{
warnings:true,
mangle:false,
output:{
beautify:false
},
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,
if_return: true,
join_vars: true,
cascade: true,
side_effects: true,
warnings: true,
global_defs: {},
hoist_vars: false,
unsafe: false
}
},
optimizeCss: "standard"
})