Commit 4b1462a0182a814136c0bdf3b47e5a45f12a63f6
add babel plugin for experimental class properties
Michael Williams committed on 1/3/2016, 6:55:29 AMParent: 99bc16e5212f7086422943407911f7c31443ab4c
Files changed
.babelrc | changed |
package.json | changed |
.babelrc | ||
---|---|---|
@@ -4,9 +4,10 @@ | ||
4 | 4 | "react" |
5 | 5 | ], |
6 | 6 | "plugins": [ |
7 | 7 | "transform-runtime", |
8 | - "transform-object-rest-spread" | |
8 | + "transform-object-rest-spread", | |
9 | + "transform-class-properties" | |
9 | 10 | ], |
10 | 11 | "env": { |
11 | 12 | "hot": { |
12 | 13 | "plugins": [ |
package.json | ||
---|---|---|
@@ -73,8 +73,9 @@ | ||
73 | 73 | "wtch": "^4.0.1" |
74 | 74 | }, |
75 | 75 | "dependencies": { |
76 | 76 | "babel-core": "^6.2.1", |
77 | + "babel-plugin-transform-class-properties": "^6.3.13", | |
77 | 78 | "babel-plugin-transform-object-rest-spread": "^6.1.18", |
78 | 79 | "babel-plugin-transform-runtime": "^6.1.18", |
79 | 80 | "babel-preset-es2015": "^6.1.18", |
80 | 81 | "babel-preset-react": "^6.1.18", |
Built with git-ssb-web