mirror of
https://github.com/status-im/metro.git
synced 2025-02-08 17:24:54 +00:00
Summary: **Summary** Minification fails or minified bundle may crash due to uglify-es bugs which have been fixed recently. See https://github.com/facebook/react-native/issues/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 https://github.com/facebook/react-native/issues/16689 for more information. Closes https://github.com/facebook/metro-bundler/pull/85 Reviewed By: mjesun Differential Revision: D6259177 Pulled By: rafeca fbshipit-source-id: 55987eb338b06938181c0da74d104d23eeb135b6