Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge #2083 from js-babel-es2017
Browse files Browse the repository at this point in the history
add babel es2016 & es2017 presets
  • Loading branch information
derhuerst authored Sep 14, 2016
2 parents 89890cf + 7453ab6 commit 77b6422
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/.babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": ["es2015", "stage-0", "react"],
"plugins": ["transform-runtime", "lodash"],
"presets": ["es2017", "es2016", "es2015", "stage-0", "react"],
"plugins": ["transform-runtime", "transform-decorators-legacy", "transform-class-properties"],
"retainLines": true
}
4 changes: 4 additions & 0 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@
"babel-eslint": "^6.1.2",
"babel-loader": "^6.2.3",
"babel-plugin-lodash": "^3.2.2",
"babel-plugin-transform-class-properties": "^6.11.5",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-es2015-rollup": "^1.1.1",
"babel-preset-es2016": "^6.11.3",
"babel-preset-es2017": "^6.14.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "6.9.0",
Expand Down

0 comments on commit 77b6422

Please sign in to comment.