svelte-parcel-code-splitting-template Svelte Themes

Svelte Parcel Code Splitting Template

Template for using Svelte with Parcel (width Code-Splitting and async Loading of components enabled)

svelte-parcel-code-splitting-template

Template for using Svelte with Parcel (Code-Splitting and async Loading of svelte components enabled)

I needed the following features in a recent project:

  • reliable & easy to use bundling without the configuration hell of webpack
  • basic svelte setup with enabled sass support
  • preferably code-splitting + async loading of components

end up using this..

  • Parcel.js is the bundler of my choice, since i tried them all for several purposes
    and I simply love the zero configuration philosophy
    • in Parcel.js every configuration is in a dedicated configuration file, due to this, a svelte.config.js is necessary to use scss within svelte
  • for loading svelte-components async with dynamic imports this template uses svelte-loadable

Top categories

Loading Svelte Themes