You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Qwik's HMR is broken for our projects, and each save means a long reload time. In search for finding the problem, we noticed that a lot of links related to the @auth/core and jose packages are being loaded into the browser. We thought that Vite would automatically optimize third-party libraries. But that's not the case for these two packages.
Consider these URLs (taken from the Network tab, and filtered by anything that has @fs in it):
As you can see, these are the number of files loaded:
NPM Package
Number of Lines
@auth/core
33
jose
41
This means that from our typical page with 400 requests, almost 19% of the load is related to these links.
Why is this the behavior of these packages here? And how can fix it?
Thank you.
The text was updated successfully, but these errors were encountered:
The Qwik's HMR is broken for our projects, and each save means a long reload time. In search for finding the problem, we noticed that a lot of links related to the
@auth/core
andjose
packages are being loaded into the browser. We thought that Vite would automatically optimize third-party libraries. But that's not the case for these two packages.Consider these URLs (taken from the Network tab, and filtered by anything that has
@fs
in it):As you can see, these are the number of files loaded:
This means that from our typical page with 400 requests, almost 19% of the load is related to these links.
Why is this the behavior of these packages here? And how can fix it?
Thank you.
The text was updated successfully, but these errors were encountered: