Skip to content

Commit 961f9a8

Browse files
committed
Remove babel preset env
1 parent 38255d4 commit 961f9a8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

babel.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ module.exports = function (api) {
22
api && api.cache(false);
33
return {
44
presets: [
5-
'module:metro-react-native-babel-preset',
6-
'@babel/preset-env'
5+
'module:metro-react-native-babel-preset'
76
],
87
plugins: [
98
'@babel/plugin-proposal-export-namespace-from',

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"@types/react-test-renderer": "16.x.x",
4242
"@babel/plugin-proposal-export-default-from": "7.2.0",
4343
"@babel/plugin-proposal-export-namespace-from": "7.2.0",
44-
"@babel/preset-env": "7.5.0",
4544
"typescript": "3.2.2",
4645
"babel-eslint": "9.0.0",
4746
"chai": "^3.5.0",

0 commit comments

Comments
 (0)