Closed metonym closed 1 year ago
Both SvelteKit and the Svelte Vite plugin will now attempt to prebundle all Svelte libraries.
This means that the following config is no longer required for SvelteKit/Vite set-ups:
- optimizeDeps: { - include: ["highlight.js", "highlight.js/lib/core"], - },
This should be noted in the docs. However, the recent change is still quite new (for SvelteKit, it was enabled late October and the new version of the Svelte plugin was released just yesterday).
Both SvelteKit and the Svelte Vite plugin will now attempt to prebundle all Svelte libraries.
This means that the following config is no longer required for SvelteKit/Vite set-ups:
This should be noted in the docs. However, the recent change is still quite new (for SvelteKit, it was enabled late October and the new version of the Svelte plugin was released just yesterday).