Skip to content

Commit

Permalink
Upgrade uglify-es to fix minification issues
Browse files Browse the repository at this point in the history
Summary:
**Summary**

Minification fails or minified bundle may crash due to uglify-es bugs which have been fixed recently. See facebook/react-native#16689

**Test plan**

Try to production bundle a project using ex-navigation, which fails with:
```
Maximum call stack size exceeded
```

Use this patch and see that bundling suceeds. There are also minified runtime errors solved by this change, see facebook/react-native#16689 for more information.
Closes #85

Reviewed By: mjesun

Differential Revision: D6259177

Pulled By: rafeca

fbshipit-source-id: 55987eb338b06938181c0da74d104d23eeb135b6
  • Loading branch information
adbl authored and facebook-github-bot committed Nov 7, 2017
1 parent 8fe2d58 commit b0c79aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/metro-bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"source-map": "^0.5.6",
"temp": "0.8.3",
"throat": "^4.1.0",
"uglify-es": "^3.1.0",
"uglify-es": "^3.1.8",
"wordwrap": "^1.0.0",
"write-file-atomic": "^1.2.0",
"xpipe": "^1.0.5"
Expand Down

0 comments on commit b0c79aa

Please sign in to comment.