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
A recipe for code-splitting is now documented in the README. In addition, a DynamicImport component has been added to each example set-up.
The nice thing about SvelteKit/Vite/Webpack is that code-split the build with zero-configuration. The Rollup example needed a few tweaks to the rollup.config.js.
This is less of an issue for SvelteKit which will already code-split your app.
However, for other SPA set-ups, it would be nice to have a quick primer on dynamically importing a language grammar, which can be quite heavy.
The text was updated successfully, but these errors were encountered: