Skip to content

aircraft721/svelte-webpack

Repository files navigation

svelte-webpack5-typescript

Test of Webpack 5 as a bundler for Svelte ❄️

Code for my blog post Why Webpack 5 is the best bundler for Svelte.

My Requirements

  • It must be fast
  • It must support Typescript
  • It must support PostCSS
  • It must produce small and efficient bundles
  • It must produce correct sourcemaps for debugging
  • It should support HMR (Hot Module Replacement)

How to run

Clone the repo and run pnpm i && pnpm start.

To build do a pnpm build and to analyze bundle pnpm build:analyze.

There is more!

For more interesting stuff like this follow me on Twitter or check out my blog https://codechips.me.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published