-
Notifications
You must be signed in to change notification settings - Fork 75
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
Build ESM artifacts with Node16 module resolution #599
Labels
Cleanup
Cleanup tasks
Comments
Another extension-less import slipped through: #690 |
I just tested this in the v2 branch:
So far it passes attw and some manual tests. |
smaye81
added a commit
that referenced
this issue
Mar 20, 2024
Fixes #599 This switches all packages to build ESM artifacts with Node16 module resolution. In doing so, it turns on Node16 for both `moduleResolution` and `module` by default throughout the repo. It also turns on `verbatimModuleSyntax` by default (which is why the need for all the `import type {...}` changes). For CJS artifacts, the exceptions for `moduleResolution node10` and `verbatimModuleSyntax false` are now specified in the command script.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently build ESM artifacts with module resolution "Node", which is the Node.js v10 resolution algorithm.
We should switch to "Node16", which would have caught #586.
The text was updated successfully, but these errors were encountered: