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

Commit 9142dd7

Browse files
juanmaguitarFezVrasta
authored andcommitted
build: added transform-class-properties to fix issue with parcel (#188)
1 parent c3bb52b commit 9142dd7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"stage-2",
55
"react"
66
],
7+
"plugins": [
8+
"transform-class-properties"
9+
],
710
"env": {
811
"esm": {
912
"plugins": [

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"react": "0.14.x || ^15.0.0 || ^16.0.0"
5959
},
6060
"dependencies": {
61+
"babel-plugin-transform-class-properties": "^6.24.1",
6162
"babel-runtime": "6.x.x",
6263
"create-react-context": "^0.2.1",
6364
"popper.js": "^1.14.1",

0 commit comments

Comments
 (0)