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 }}
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
Maybe we could move to another parser / transformer lib in the future, like babel standalone (which is based on acorn, which supports ES2020) or if that's too heavy just the packages we need (@babel/parser @babel/traverse @bable/type @babel/generate + any plugin packages we need, like top level await.
I think the permanent solution is to switch to @babel/parser, it's strongly optimized for this kind of quick and simple AST manipulation, extremely battle-tested & well documented + you can even support sexy experimental JS syntax if you like (e.g. https://github.com/tc39/proposal-pipeline-operator)