Skip to content

0xcharchar/svelte-esbuild-minimal-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Svelte SPA & Esbuild

Minimal build script for a Svelte SPA that loads a package with a Svelte component.

Wrote comments in the esbuild.mjs script for key parts.

Caveats

  • no automatic rebuild or dev server yet
  • es5 is not well supported so don't use this if you need es5
  • asset copying is baaaad

About

Svelte SPA, esbuild, and an imported component. Javascript only.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published