Skip to content

Commit

Permalink
added babel's transform-class-properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Mar 5, 2017
1 parent 032869d commit 220997c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"presets": ["react", "latest", "stage-2"],
"plugins": ["babel-plugin-transform-object-assign"]
"presets": ["stage-2", "react", "latest"],
"plugins": ["babel-plugin-transform-object-assign",
"babel-transform-class-properties"]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"babel-core": "^6.7.4",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.4",
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-latest": "^6.16.0",
Expand Down

0 comments on commit 220997c

Please sign in to comment.