Skip to content

Commit d6d4d95

Browse files
committed
Fix .babelrc to be the same as react-sdk
it was missing some plugins which firstly means we're using inconsistent js between projects, but also causes builds to fail due to our unique build system.
1 parent cc8eaea commit d6d4d95

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

‎.babelrc‎

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
{
2-
"presets": ["react", "es2015", "es2016"],
3-
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-bluebird", "transform-runtime", "add-module-exports"]
2+
"presets": [
3+
"react",
4+
"es2015",
5+
"es2016"
6+
],
7+
"plugins": [
8+
[
9+
"transform-builtin-extend",
10+
{
11+
"globals": ["Error"]
12+
}
13+
],
14+
"transform-class-properties",
15+
"transform-object-rest-spread",
16+
"transform-async-to-bluebird",
17+
"transform-runtime",
18+
"add-module-exports",
19+
"syntax-dynamic-import"
20+
]
421
}

0 commit comments

Comments
 (0)