Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit 05c0184

Browse files
author
Matt Goo
authored
fix: downgraded to es2015 preset to work on ie11 (#133)
1 parent c438333 commit 05c0184

File tree

4 files changed

+35
-3
lines changed

4 files changed

+35
-3
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"presets": [
3-
["env", {"targets": {"node": "current"}}],
3+
["es2015", {"targets": {"node": "current"}}],
44
"react"
55
],
66
"plugins": [

package-lock.json

Lines changed: 32 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"babel-plugin-transform-object-rest-spread": "^6.26.0",
6565
"babel-polyfill": "^6.26.0",
6666
"babel-preset-airbnb": "^2.4.0",
67-
"babel-preset-env": "^1.7.0",
67+
"babel-preset-es2015": "^6.24.1",
6868
"babel-preset-react": "^6.24.1",
6969
"capture-chrome": "^2.0.0",
7070
"chai": "^4.1.2",

packages/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function getJavaScriptWebpackConfig(entryPath, chunk, modules) {
106106
options: {
107107
babelrc: false,
108108
compact: true,
109-
presets: [['env', {modules}], 'react'],
109+
presets: [['es2015', {modules}], 'react'],
110110
plugins: [
111111
'transform-class-properties',
112112
'transform-object-rest-spread',

0 commit comments

Comments
 (0)