-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Please read this if you think transpilation is wrong #7435
Comments
This was referenced May 23, 2023
1 task
This was referenced Feb 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This document describes that are not a bug. If you file an issue that is described in this issue, the issue will be closed without any additional information.
Class fields are
undefined
useDefineForClassFields
behavior #6985jest.mock
of ESM fails / Cannot modify ES modules.jest.mock
of ESM should fail, and it's correct #5205Evaluation order of
module: "commonjs"
is different fromtsc
.The behavior of
tsc
is wrong. ESM is an established standard, and the specification explicitly says that ESM imports are hoisted.Cyclic imports of ESM do not work (as what you want)
ESM is an established standard, and as SWC is a compiler, SWC always follows specifications.
I can't import CJS Modules from node.js ESM.
The text was updated successfully, but these errors were encountered: