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

fix(preload): throw error preloading module as well #18098

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

danielroe
Copy link
Contributor

Description

#18046

This addresses a regression where errors actually calling the preloaded module did not trigger a vite:preloadError event any more.

cc: @patak-dev

Copy link

stackblitz bot commented Sep 13, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Member

@patak-dev patak-dev left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix @danielroe!

@patak-dev patak-dev merged commit ba56cf4 into vitejs:main Sep 13, 2024
12 checks passed
@danielroe danielroe deleted the fix/double-error branch September 13, 2024 08:52
@danielroe
Copy link
Contributor Author

Not at all - apologies for the bug 🙏

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