Skip to content

Commit fa31afe

Browse files
committedMay 10, 2018
IE8 fix
1 parent 332cdcf commit fa31afe

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
 

‎.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
"@babel/preset-react",
55
['@babel/preset-stage-3']
66
],
7+
"plugins": [
8+
"@babel/plugin-transform-proto-to-assign"
9+
],
710
"env": {
811
"test": {
912
"plugins": [
13+
"@babel/plugin-transform-proto-to-assign",
1014
"@babel/transform-modules-commonjs"
1115
]
1216
}

‎package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@babel/cli": "^7.0.0-beta.46",
2020
"@babel/core": "^7.0.0-beta.46",
2121
"@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.46",
22+
"@babel/plugin-transform-proto-to-assign": "^7.0.0-beta.46",
2223
"@babel/polyfill": "^7.0.0-beta.46",
2324
"@babel/preset-env": "^7.0.0-beta.46",
2425
"@babel/preset-react": "^7.0.0-beta.46",

0 commit comments

Comments
 (0)