Skip to content
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 moduleResolution #1104

Merged
merged 7 commits into from
Jun 17, 2024

Conversation

smaye81
Copy link
Member

@smaye81 smaye81 commented Jun 13, 2024

Fixes #887

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.

For CJS artifacts, the exceptions for moduleResolution node10 and verbatimModuleSyntax false are now specified in the command script.

@smaye81
Copy link
Member Author

smaye81 commented Jun 14, 2024

@timostamm here's an attempt at Node16 moduleResolution in connect-es. Left a few questions inside. Let me know what you think.

Signed-off-by: Steve Ayers <[email protected]>
Signed-off-by: Steve Ayers <[email protected]>
Signed-off-by: Steve Ayers <[email protected]>
Signed-off-by: Steve Ayers <[email protected]>
Signed-off-by: Steve Ayers <[email protected]>
@smaye81 smaye81 force-pushed the sayers/node16_module_resolution branch from 187898c to a196662 Compare June 14, 2024 17:56
@smaye81 smaye81 marked this pull request as ready for review June 14, 2024 18:33
@smaye81 smaye81 requested a review from timostamm June 14, 2024 18:33
@smaye81 smaye81 merged commit f29a2a4 into main Jun 17, 2024
6 checks passed
@smaye81 smaye81 deleted the sayers/node16_module_resolution branch June 17, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build ESM artifacts with Node16 module resolution
2 participants