This repository was archived by the owner on Aug 7, 2021. It is now read-only.
Commit 7a125ee 1 parent 612cffd commit 7a125ee Copy full SHA for 7a125ee
File tree 3 files changed +33
-6
lines changed
3 files changed +33
-6
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,19 @@ module.exports = env => {
117
117
} ,
118
118
minimize : ! ! uglify ,
119
119
minimizer : [
120
- // Override default minimizer to work around an Android issue by setting compress = false
121
120
new UglifyJsPlugin ( {
122
121
uglifyOptions : {
123
- compress : platform !== "android"
122
+ parallel : true ,
123
+ cache : true ,
124
+ output : {
125
+ comments : false ,
126
+ } ,
127
+ compress : {
128
+ // The Android SBG has problems parsing the output
129
+ // when these options are enabled
130
+ 'collapse_vars' : platform !== "android" ,
131
+ sequences : platform !== "android" ,
132
+ }
124
133
}
125
134
} )
126
135
] ,
Original file line number Diff line number Diff line change @@ -114,10 +114,19 @@ module.exports = env => {
114
114
} ,
115
115
minimize : ! ! uglify ,
116
116
minimizer : [
117
- // Override default minimizer to work around an Android issue by setting compress = false
118
117
new UglifyJsPlugin ( {
119
118
uglifyOptions : {
120
- compress : platform !== "android"
119
+ parallel : true ,
120
+ cache : true ,
121
+ output : {
122
+ comments : false ,
123
+ } ,
124
+ compress : {
125
+ // The Android SBG has problems parsing the output
126
+ // when these options are enabled
127
+ 'collapse_vars' : platform !== "android" ,
128
+ sequences : platform !== "android" ,
129
+ }
121
130
}
122
131
} )
123
132
] ,
Original file line number Diff line number Diff line change @@ -114,10 +114,19 @@ module.exports = env => {
114
114
} ,
115
115
minimize : ! ! uglify ,
116
116
minimizer : [
117
- // Override default minimizer to work around an Android issue by setting compress = false
118
117
new UglifyJsPlugin ( {
119
118
uglifyOptions : {
120
- compress : platform !== "android"
119
+ parallel : true ,
120
+ cache : true ,
121
+ output : {
122
+ comments : false ,
123
+ } ,
124
+ compress : {
125
+ // The Android SBG has problems parsing the output
126
+ // when these options are enabled
127
+ 'collapse_vars' : platform !== "android" ,
128
+ sequences : platform !== "android" ,
129
+ }
121
130
}
122
131
} )
123
132
] ,
You can’t perform that action at this time.
0 commit comments