Skip to content

Commit 5f66058

Browse files
committed
Fixing decorators with legacy fallback
1 parent 4bff355 commit 5f66058

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"transform-react-jsx",
55
"transform-class-properties",
66
"transform-class-constructor-call",
7+
"transform-decorators-legacy",
78
"transform-export-extensions",
89
"transform-class-constructor-call",
910
"transform-es2015-spread",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"babel-plugin-syntax-jsx": "^6.0.14",
5050
"babel-plugin-transform-class-constructor-call": "^6.3.13",
5151
"babel-plugin-transform-class-properties": "^6.3.13",
52+
"babel-plugin-transform-decorators-legacy": "^1.2.0",
5253
"babel-plugin-transform-es2015-arrow-functions": "^6.0.14",
5354
"babel-plugin-transform-es2015-block-scoping": "^6.3.13",
5455
"babel-plugin-transform-es2015-classes": "^6.3.15",

0 commit comments

Comments
 (0)