-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESM first #1468
Comments
The transformer ( Also, If you can keep two things without break change which requires major version update, it is okay to start. |
@samchon okay got is |
Also, keep the CLI ( It is imported by |
Nice! got it! BTW, in the future we can deprecate CJS because of this flag |
I'll deprecate CJS when TypeScript and NestJS do it. |
https://antfu.me/posts/move-on-to-esm-only Actually I already finished moving to ESM first. I'll investigate whether test works fine. |
Today, js is becoming esm first: esm works in browsers and has advantages for tree-shaking.
So we want to replace the parts of various scripts where commonjs are used with esm. We still intend to include commonjs in the build.
I'll work on it if you want.
The text was updated successfully, but these errors were encountered: