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

All icons are being loaded #4

Closed
akiarostami opened this issue Jan 3, 2022 · 1 comment
Closed

All icons are being loaded #4

akiarostami opened this issue Jan 3, 2022 · 1 comment

Comments

@akiarostami
Copy link

I am not sure when this happened, but if you look at the Network tab in the Developer Tool of your browser, you can see that the whole icon library is getting loaded on the client side.

This has made the application load time extremely slow.

CleanShot 2022-01-02 at 18 10 09

@akiarostami
Copy link
Author

As I looked more into this issue, it seems that this is a svelte/vite issue, not your issue. They made a change in vite configuration which caused this. They do have an experimental solution for this. Just in case anyone else having this issue, they can read more here, see the release notes here and see the solution here under prebundleSvelteLibraries.

I will close this issue.

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

No branches or pull requests

1 participant