Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 3945112

Browse files
committed
Use babel v7 plugins in .babelrc
1 parent ce2bf10 commit 3945112

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.babelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"presets": [],
33
"plugins": [
4-
"transform-es2015-modules-commonjs",
5-
"transform-object-rest-spread"
4+
"@babel/plugin-transform-modules-commonjs",
5+
"@babel/plugin-proposal-object-rest-spread"
66
]
77
}

.storybook/.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"presets": [
3-
"react-native"
3+
"module:metro-react-native-babel-preset"
44
],
55
"plugins": [
66
"react-native-web"

0 commit comments

Comments
 (0)