Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit 994447e

Browse files
committed
Merge pull request #344 from ctumolosus/master
Fix compatibility issue with IE8 (ES3) due to usage of unquoted reserved keys.
2 parents 04036bd + 8339899 commit 994447e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.babelrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"presets": ["es2015", "react", "stage-1"]
2+
"presets": ["es2015", "react", "stage-1"],
3+
"plugins": [
4+
"transform-es3-member-expression-literals",
5+
"transform-es3-property-literals"
6+
]
37
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@
3838
],
3939
"devDependencies": {
4040
"babel-cli": "^6.1.2",
41-
"babel-core": "^6.2.1",
41+
"babel-core": "^6.7.4",
4242
"babel-eslint": "^4.1.6",
4343
"babel-loader": "^6.2.0",
44-
"babel-polyfill": "^6.3.14",
44+
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
45+
"babel-plugin-transform-es3-property-literals": "^6.5.0",
46+
"babel-polyfill": "^6.7.4",
4547
"babel-preset-es2015": "^6.3.13",
4648
"babel-preset-react": "^6.5.0",
4749
"babel-preset-stage-1": "^6.3.13",

0 commit comments

Comments
 (0)