-
Notifications
You must be signed in to change notification settings - Fork 612
Evaluate providing ESM artifact for Node.js once TypeScript provides stable support #3223
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
Comments
TypeScript 4.7 Beta added ECMAScript Module Support in Node.js The TypeScript 4.7 Final will be released in late-May 2022. |
As per Node.js docs, we can also use an ESM Wrapper instead of emitting ESM artifacts. |
Revisiting after merging Node.js and browser utilities in
As we use |
related: #3622 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Is your feature request related to a problem? Please describe.
The AWS SDK for JavaScript (v3) currently does not provide a separate ESM artifact for Node.js
Users either use the CJS artifact or ES5 artifact.
Describe the solution you'd like
TypeScript 4.5 added Experimental Nightly-Only ECMAScript Module Support in Node.js.
The existing issues are being discussed here, and official documentation can be viewed here.
Provide ESM artifacts once TypeScript support gets stable.
Describe alternatives you've considered
Not providing ESM artifacts for AWS SDK for JavaScript (v3) packages.
Additional context
TypeScript version needs to be bumped to 4.6 with named export support before picking this up. Details in #3217
The text was updated successfully, but these errors were encountered: