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
I've recently started to migrate a relatively big project from Babel to Sucrase and hit a (not so much) blocker. We have a few files that reference export { foo } before the const foo declaration, which should be valid per spec and works with Babel and TypeScript.
Hi there!
I've recently started to migrate a relatively big project from Babel to Sucrase and hit a (not so much) blocker. We have a few files that reference
export { foo }
before theconst foo
declaration, which should be valid per spec and works with Babel and TypeScript.Given the source
Sucrase will compile to:
And both Babel and TypeScript will compile to:
(Sucrase link here)
This is kind of minor and I could just run a codemod on our codebase, but I figured this might be something worth fixing.
The text was updated successfully, but these errors were encountered: