-
-
Notifications
You must be signed in to change notification settings - Fork 809
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Performance] Ship ES6 code to production, drop IE support
- Loading branch information
1 parent
432cbc3
commit 448d096
Showing
8 changed files
with
1,567 additions
and
2,139 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/node_modules/metro-react-native-babel-preset/src/configs/main.js b/node_modules/metro-react-native-babel-preset/src/configs/main.js | ||
index d4d9b34..c61199b 100644 | ||
--- a/node_modules/metro-react-native-babel-preset/src/configs/main.js | ||
+++ b/node_modules/metro-react-native-babel-preset/src/configs/main.js | ||
@@ -68,7 +68,7 @@ const defaultPlugins = [ | ||
[require("@babel/plugin-transform-parameters")], | ||
[require("@babel/plugin-transform-shorthand-properties")], | ||
[require("@babel/plugin-transform-react-jsx")], | ||
- [require("@babel/plugin-transform-regenerator")], | ||
+ // [require("@babel/plugin-transform-regenerator")], | ||
[require("@babel/plugin-transform-sticky-regex")], | ||
[require("@babel/plugin-transform-unicode-regex")] | ||
]; | ||
@@ -115,7 +115,7 @@ const babelRuntime = [ | ||
require("@babel/plugin-transform-runtime"), | ||
{ | ||
helpers: true, | ||
- regenerator: true | ||
+ regenerator: false | ||
} | ||
]; | ||
|
Oops, something went wrong.