Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 8a892f3

Browse files
committed
Add decorator-legacy
1 parent fb6e3cd commit 8a892f3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"es2015",
44
"react",
55
"stage-0"
6-
]
6+
],
7+
"plugins": ["transform-decorators-legacy"]
78
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
"babel-core": "^6.3.17",
4545
"babel-eslint": "^5.0.0-beta4",
4646
"babel-loader": "^6.2.0",
47+
"babel-plugin-transform-decorators": "^6.3.13",
48+
"babel-plugin-transform-decorators-legacy": "^1.3.1",
4749
"babel-preset-es2015": "^6.3.13",
4850
"babel-preset-react": "^6.3.13",
4951
"babel-preset-stage-0": "^6.3.13",

0 commit comments

Comments
 (0)