Skip to content

Commit 361db05

Browse files
committed
babel config for IE
1 parent efa5fa8 commit 361db05

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
"babel-plugin-transform-async-to-generator": "6.7.0",
1414
"babel-plugin-transform-class-properties": "6.6.0",
1515
"babel-plugin-transform-object-rest-spread": "6.6.5",
16+
"babel-plugin-transform-proto-to-assign": "6.6.5",
1617
"babel-plugin-transform-runtime": "6.6.0",
1718
"babel-preset-es2015": "6.6.0",
19+
"babel-preset-es2015-loose": "7.0.0",
1820
"babel-preset-react": "6.5.0",
1921
"babel-register": "6.7.2",
2022
"babel-runtime": "6.6.1",
@@ -39,12 +41,13 @@
3941
},
4042
"babel": {
4143
"presets": [
42-
"es2015",
44+
"es2015-loose",
4345
"react"
4446
],
4547
"plugins": [
4648
"transform-class-properties",
47-
"transform-object-rest-spread"
49+
"transform-object-rest-spread",
50+
"transform-proto-to-assign"
4851
]
4952
},
5053
"ava": {

0 commit comments

Comments
 (0)