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

types(bundle-source): Specific ModuleFormat type #2767

Merged
merged 5 commits into from
Mar 31, 2021

Conversation

kriskowal
Copy link
Member

Description

This surfaces invalid bundle formats with a TypeScript string enum.

Security Considerations

None.

Documentation Considerations

None. The module type has a default that should always be sufficient to end users and free to change at our discretion.

Testing Considerations

This is tested to the extent that we use TypeScript to lint bundleSource call sites.

@kriskowal kriskowal requested a review from warner March 31, 2021 03:44
This surfaces invalid bundle formats with a TypeScript string enum.
@kriskowal kriskowal force-pushed the kris-bundle-source-module-format-enum-type branch from fe66d2f to aada8a2 Compare March 31, 2021 04:27
Copy link
Member

@warner warner left a comment

Choose a reason for hiding this comment

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

LGTM

@kriskowal kriskowal enabled auto-merge (squash) March 31, 2021 23:03
@kriskowal kriskowal merged commit 6fe2ff7 into master Mar 31, 2021
@kriskowal kriskowal deleted the kris-bundle-source-module-format-enum-type branch March 31, 2021 23:20
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.

2 participants