Skip to content

Commit acb4332

Browse files
committed
Move Babel options to .babelrc
Fixes Babel throwing an error when bundling in React Native. Source: acdlite/change-emitter#2
1 parent 129e230 commit acb4332

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015"]
3+
}

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@
7171
"singleQuote": false,
7272
"trailingComma": "none"
7373
},
74-
"babel": {
75-
"presets": [
76-
"es2015"
77-
]
78-
},
7974
"jest": {
8075
"collectCoverageFrom": [
8176
"src/*.js"

0 commit comments

Comments
 (0)