A Svelte compiler & watcher that works with Snowpack ↦
The goal of
svelvet
is to makesvelte
play nicely withsnowpack
andweb_modules
.As of today, svelte depends on a loader for webpack or rollup which compiles your svelte components into individual js files. Since snowpack’s goal is to avoid the need for a bundler, we can’t use those loaders, but we can use svelte’s internal compiler api to do 95% of the work for us. On top of that,
svelvet
adds automatic file watching to recompile your svelte files just like a loader would, but much faster!
I’m not gonna lie, any green field that offers a super light build process is looking pretty stinkin’ green these days. That being said, there’s a reason we call it the bleeding edge.
Discussion
Sign in or Join to comment or subscribe