Skip to content

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

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

fix(preload): throw error preloading module as well#18098
patak-cat merged 2 commits intovitejs: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.

Copy link
Copy Markdown
Member

@patak-cat patak-cat 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!

@danielroe
Copy link
Copy Markdown
Contributor Author

Not at all - apologies for the bug 🙏

patak-cat added a commit that referenced this pull request Sep 13, 2024
moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
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