Add babel-plugin-transform-class-properties (#7322)
* added babel-plugin-transform-class-properties * removed babel-plugin- prefix
Keyan Zhang committed
Jul 20, 2016 at 17:39 UTC
fc04e853f8204ff2311a3d08b159aa5475a34d41
2 files changed
+3
-1
.babelrc
+2
-1
@@ -2,8 +2,9 @@
2
"presets": ["react"],
3
"ignore": ["third_party"],
4
"plugins": [
5
+ "transform-class-properties",
6
"syntax-trailing-function-commas",
6
- "babel-plugin-transform-object-rest-spread",
7
+ "transform-object-rest-spread",
8
"transform-es2015-template-literals",
9
"transform-es2015-literals",
10
"transform-es2015-arrow-functions",
package.json
+1
@@ -10,6 +10,7 @@
10
"babel-eslint": "^5.0.0",
11
"babel-plugin-check-es2015-constants": "^6.5.0",
12
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
13
+ "babel-plugin-transform-class-properties": "^6.10.2",
14
"babel-plugin-transform-es2015-arrow-functions": "^6.5.2",
15
"babel-plugin-transform-es2015-block-scoped-functions": "^6.5.0",
16
"babel-plugin-transform-es2015-block-scoping": "^6.5.0",