Skip to content

theartkod/webpack_svelte

Repository files navigation

Template for complex building SPA using Svelte

enter image description here


Usage:

Clone repository:

git clone https://github.com/theartkod/webpack_svelte.git

Go to cloned directory and install dependencies:

npm ci or npm i

Run for development: npm run dev
Build for production: npm run build
Analyze bundle: npm run analyze
Show app size: npm run size


Features:

  1. live reloading
  2. analyze mode for detecting large dependencies
  3. size app control with size-limit
  4. understandable structure folders
  5. postcss for your styles
  6. ESlint and Prettier for formatting and lint your code
  7. images, fonts and static support
  8. blazing fast loading google fonts
  9. support dynamic load pages with page.js router

Coming soon:

  • Unit testing
  • Deep integration router