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] allow onLoad plugin callbacks to return undefined #6346

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

silversquirl
Copy link
Contributor

Returning undefined simply falls through to the next plugin, or to the default loader.
This behaviour is defined by esbuild, and supported by Bun, but the types don't reflect it properly. This PR fixes that.

Returning undefined simply falls through to the next plugin, or to the default loader.
This is defined by esbuild, and supported by Bun, but the types don't reflect it properly.
@Jarred-Sumner Jarred-Sumner merged commit 48635fd into oven-sh:main Oct 7, 2023
@Jarred-Sumner
Copy link
Collaborator

Thank you

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