Skip to content

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

Merged
patak-cat merged 2 commits into
vitejs:mainfrom
danielroe:fix/double-error
Sep 13, 2024
Merged

fix(preload): throw error preloading module as well#18098
patak-cat merged 2 commits into
vitejs:mainfrom
danielroe:fix/double-error

Conversation

@danielroe

Copy link
Copy Markdown
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

@bolt-new-by-stackblitz

Copy link
Copy Markdown

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

@patak-cat patak-cat left a comment

Copy link
Copy Markdown
Member

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!

@danielroe

Copy link
Copy Markdown
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