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

test: validate canonical exports after inline transform #5699

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jan 19, 2024

Issue

Followup to #5694

Description

This adds a validation step to each inlined index.js file. It creates a temporary .mjs file that confirms every canonical exported name is available to the named ESM import in an mjs file.

Testing

build all

@kuhe kuhe requested a review from a team as a code owner January 19, 2024 20:07
@kuhe kuhe merged commit 59c5b59 into aws:main Jan 19, 2024
3 checks passed
@kuhe kuhe deleted the test/dist-cjs branch January 19, 2024 20:50
Copy link

github-actions bot commented Feb 3, 2024

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 Feb 3, 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.

2 participants