Move decorators transform to @babel/helper-create-class-features-plugin (#9059)

* Move decorators to @babel/plugin-class-features

* Minor refactoring

* Use the new helper package
This commit is contained in:
Nicolò Ribaudo
2018-12-09 12:30:25 +01:00
committed by GitHub
parent 9b005dedfd
commit d1d3c823cc
9 changed files with 285 additions and 307 deletions

View File

@@ -16,8 +16,7 @@
],
"dependencies": {
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/helper-replace-supers": "^7.1.0",
"@babel/helper-split-export-declaration": "^7.0.0",
"@babel/helper-create-class-features-plugin": "^7.2.1",
"@babel/plugin-syntax-decorators": "^7.2.0"
},
"peerDependencies": {