Bundle Strategies in Svelte. Configure in svelte.config.js

  • split - App will be split up in multiple .js and .css files. Files are lazy loaded as the user navigates the app. This is the default.
  • single - Creates one .js bundle and one .css bundle for the entire application.
  • inline - Inlines all .js and .css files in the HTML. The result can be usable without a server.
  • Svelte Docs (Configuration > Output > Bundle Strategy)

    Currently using bundle strategy: single