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

chore(external): add new package for external dependencies #5923

Closed
wants to merge 1 commit into from

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Mar 19, 2024

Issue

similar to smithy-lang/smithy-typescript#1214

Description

Creates an exporter for external packages that can conditionally bundle them for Node.js while retaining no-op alias behavior for browser bundlers.

Testing

  • e2e testing
  • Node.js 14 testing if merging before end of support
  • bundler testing

"module": "commonjs",
"moduleResolution": "node",
"module": "Node16",
"moduleResolution": "Node16",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not yet signal dropping Node.js 14, which is scheduled in #5416.

This is needed for the TypeScript compiler to understand the exports block of the @aws-sdk/external package. In Node.js this was added in v12 already.

I will test to confirm this behavior.

@kuhe kuhe closed this Jun 6, 2024
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant