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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
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.

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.

None yet

1 participant