Skip to content

Commit 3278cec

Browse files
committed
add transform-class-properties
1 parent acdfef6 commit 3278cec

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.babelrc

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
2-
passPerPreset: true,
3-
presets: [
4-
{
5-
"plugins": [ "babel-plugin-transform-flow-strip-types" ]
6-
},
7-
"es2015",
8-
"react"
2+
"presets": [ "es2015", "react" ],
3+
"plugins": [
4+
"transform-class-properties",
5+
"transform-flow-strip-types"
96
]
107
}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
},
3030
"devDependencies": {
3131
"autoprefixer": "^6.3.6",
32+
"babel-plugin-transform-class-properties": "^6.10.2",
3233
"babel-plugin-transform-flow-strip-types": "^6.8.0",
3334
"babel-preset-es2015": "^6.9.0",
3435
"babel-preset-react": "^6.5.0",

0 commit comments

Comments
 (0)