mirror of https://github.com/status-im/metro.git
Upgrade uglify-es to 3.1.9
Reviewed By: davidaurelio Differential Revision: D6309485 fbshipit-source-id: 17d8b66a2a676a9a556509e28a48ee703fc6da89
This commit is contained in:
parent
085dd97fa0
commit
6ec09775ef
|
@ -48,7 +48,7 @@
|
|||
"source-map": "^0.5.6",
|
||||
"temp": "0.8.3",
|
||||
"throat": "^4.1.0",
|
||||
"uglify-es": "^3.1.0",
|
||||
"uglify-es": "^3.1.9",
|
||||
"wordwrap": "^1.0.0",
|
||||
"write-file-atomic": "^1.2.0",
|
||||
"xpipe": "^1.0.5",
|
||||
|
|
|
@ -50,6 +50,10 @@ function minify(inputCode: string, inputMap: ?MappingsMap) {
|
|||
includeSources: false,
|
||||
},
|
||||
toplevel: true,
|
||||
compress: {
|
||||
// reduce_funcs inlines single-use function, which cause perf regressions.
|
||||
reduce_funcs: false,
|
||||
},
|
||||
});
|
||||
|
||||
if (result.error) {
|
||||
|
|
Loading…
Reference in New Issue