Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit dd220c8

Browse files
nijkFezVrasta
authored andcommitted
fix: Fixed demo command #143 (#144)
1 parent b776cf0 commit dd220c8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"presets": [["env", { "modules": false }], "stage-2", "react"]
2+
"presets": [["env", { "modules": false }], "stage-2", "react"],
3+
"plugins": ["transform-class-properties"]
34
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"babel-cli": "^6.26.0",
6363
"babel-core": "^6.26.0",
6464
"babel-plugin-external-helpers": "^6.22.0",
65+
"babel-plugin-transform-class-properties": "^6.24.1",
6566
"babel-plugin-transform-react-remove-prop-types": "^0.4.13",
6667
"babel-preset-env": "^1.6.1",
6768
"babel-preset-react": "^6.24.1",

0 commit comments

Comments
 (0)