Description
I would love to be able to catch errors when preloading chunks (which often occurs when a new deployment has taken place) so that I can handle thiings appropriately.
Suggested solution
This is how we've implemented within Nuxt:
https://github.com/nuxt/nuxt/pull/19038/files#diff-7860a08e52b47fe432d19a402b062801774cefbb935172e30ce1e83a1ec6a962
Alternative
No response
Additional context
I would be very happy to implement this within Vite. It's a relatively small (and non-breaking) change
Validations
Description
I would love to be able to catch errors when preloading chunks (which often occurs when a new deployment has taken place) so that I can handle thiings appropriately.
Suggested solution
This is how we've implemented within Nuxt:
https://github.com/nuxt/nuxt/pull/19038/files#diff-7860a08e52b47fe432d19a402b062801774cefbb935172e30ce1e83a1ec6a962
Alternative
No response
Additional context
I would be very happy to implement this within Vite. It's a relatively small (and non-breaking) change
Validations