Created
February 28, 2018 16:08
-
-
Save jamesreggio/7c87f473388d7aef7b1758b9fc90fde0 to your computer and use it in GitHub Desktop.
Patch for [email protected] to support Babel 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
patch-package | |
--- a/node_modules/metro-minify-uglify/src/minifier.js | |
+++ b/node_modules/metro-minify-uglify/src/minifier.js | |
@@ -34,7 +34,7 @@ filename) | |
function minify(inputCode, inputMap) { | |
const result = uglify.minify(inputCode, { | |
- mangle: { toplevel: true }, | |
+ mangle: { toplevel: true, safari10: true }, | |
output: { | |
ascii_only: true, | |
quote_style: 3, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment