Permalink
Browse files

Add babel-plugin-transform-class-properties (#7322)

* added babel-plugin-transform-class-properties

* removed babel-plugin- prefix
  • Loading branch information...
1 parent 5ac1bae commit fc04e853f8204ff2311a3d08b159aa5475a34d41 @keyanzhang keyanzhang committed on GitHub Jul 21, 2016
Showing with 3 additions and 1 deletion.
  1. +2 −1 .babelrc
  2. +1 −0 package.json
View
@@ -2,8 +2,9 @@
"presets": ["react"],
"ignore": ["third_party"],
"plugins": [
+ "transform-class-properties",
"syntax-trailing-function-commas",
- "babel-plugin-transform-object-rest-spread",
+ "transform-object-rest-spread",
"transform-es2015-template-literals",
"transform-es2015-literals",
"transform-es2015-arrow-functions",
View
@@ -10,6 +10,7 @@
"babel-eslint": "^5.0.0",
"babel-plugin-check-es2015-constants": "^6.5.0",
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
+ "babel-plugin-transform-class-properties": "^6.10.2",
"babel-plugin-transform-es2015-arrow-functions": "^6.5.2",
"babel-plugin-transform-es2015-block-scoped-functions": "^6.5.0",
"babel-plugin-transform-es2015-block-scoping": "^6.5.0",

0 comments on commit fc04e85

Please sign in to comment.