Upgrade uglify-es to 3.1.9

Reviewed By: davidaurelio

Differential Revision: D6309485

fbshipit-source-id: 17d8b66a2a676a9a556509e28a48ee703fc6da89
This commit is contained in:
Rafael Oleza 2017-11-21 06:36:29 -08:00 committed by Facebook Github Bot
parent 085dd97fa0
commit 6ec09775ef
2 changed files with 5 additions and 1 deletions

View File

@ -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",

View File

@ -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) {