Skip to content

Commit a16c5d2

Browse files
committed
Restore Babel loose mode
1 parent 823538f commit a16c5d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"presets": ["es2015", "stage-0", "react"],
2+
"presets": ["es2015-loose", "stage-0", "react"],
33
"plugins": [
44
"transform-decorators-legacy"
55
]

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"babel-eslint": "^5.0.0-beta4",
4949
"babel-loader": "^6.2.0",
5050
"babel-plugin-transform-decorators-legacy": "^1.2.0",
51-
"babel-preset-es2015": "^6.3.13",
51+
"babel-preset-es2015-loose": "^6.1.3",
5252
"babel-preset-react": "^6.3.13",
5353
"babel-preset-stage-0": "^6.3.13",
5454
"eslint": "^1.7.1",

0 commit comments

Comments
 (0)