nicolo-ribaudo/babel-preset-current-node-syntax

Support all minors of `@babel/core`

Closed this issue · 5 comments

Right now the minimum is ^7.8.0, it'd be awesome to support all the way down to ^7.0.0. You get the version passed to the preset function so we can still avoid adding too many plugins, right? I'm not sure how much more of a maintenance burden that'd add, but I'm hoping it's feasible 😀

If we do this, I can add this preset to Jest without waiting for a new major (our current peer dependency is ^7.0.0)

Adding too many syntax plugins shouldn't hurt, because most of the time is spent while transforming the AST rather than when initializing plugins (syntax plugins only run during initialization).

Added in 155d2cc. I tested it locally with different node versions and it seems to work, but I want to wait for GH actions to be up again before releasing.

Wonderful, thanks!

Ping me when released? 🙂

@SimenB Published as 0.1.1