-
Notifications
You must be signed in to change notification settings - Fork 3
babel 7 errors #9
Comments
we should create |
Yes, Babel 7 plugins are only guarantee to work with Babel 7. |
afaik |
@deepsweet any change that you could publish new version of this package that uses I considered sending PR but this package depends on Thanks! |
oh, a lot of things are happening right now :) check out the https://github.com/deepsweet/start – Babel 7 and even ESM. it's close to be announced and then I'm going to deprecate old |
I see, the upcoming version looks neat, looking forward to it. in the meantime i will use my own wrapper around https://github.com/start-runner/cli-core 😃 |
That's the reason why I made CLI "core" lib in the first place :) I hope that new |
I just updated my dependencies to babel 7 and it seems to have broken start-babel-cli. I think it's because it uses babel-register@6 and it seems to be incompatible with other plugins that I'm usng (stage-0) that I've also updated to v7. Particularly the spread operator. Here's a repro:
tasks file:
(doesn't need tasks, it'll break on just parsing)
I think it breaks specifically when babel-register@6 is used in conjunction with other babel-plugins/presets that are v7.
I'm not sure but it could be possible that other way around might break things too - i.e. if start-babel-cli upgrades to babel-register@7 and a project still uses babel plugins @v6.
The text was updated successfully, but these errors were encountered: