You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[7.0] Move legacy-decorators into stage-1 preset 🎉 #5220
Right now the transform-decorators plugin in babel-preset-stage-2 just errors because it hasn't been implemented. (It's in progress).
In the meantime we should just remove it from stage 2 and then move the decorators legacy plugin by @loganfsmyth into stage-1. I want to say stage-1 since it hasn't been updated. When we implement the stage-2 spec one we can move it into stage-2.
Comment below you are going to do this (for others to know)
Check you are on 7.0 branch with git checkout 7.0 and then make a branch off of that to PR
remember to run make build after a source code change or better just run make watch in another terminal window to auto run babel while you are developing
Activity
[-][7.0] Move `legacy-decorators` into stage-1 preset[/-][+][7.0] Move `legacy-decorators` into stage-1 preset 🎉[/+]yavorsky commentedon Jan 26, 2017
I'll take this one 👌
Move legacy-decorators into stage-1. Fixes babel#5220.
Move legacy-decorators into stage-1. Fixes babel#5220.
[7.0] Add legacy-decorators to stage1. Fixes babel#5220
[7.0] Add legacy-decorators to stage-1. Fixes #5220 (#5225)
existentialism commentedon Jan 27, 2017
#5225 👍
jharris4 commentedon Jan 29, 2017
Should this maybe be documented on the README for https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-decorators?
I just tried using the non-legacy plugin and got the error, and only knew why by searching and finding this issue.
xtuc commentedon Jan 30, 2017
@jharris4 Yes, I will update the documentation.
@existentialism @hzoo This is a breaking change, right?
Merge branch '7.0'
[7.0] Add legacy-decorators to stage-1. Fixes babel#5220 (babel#5225)