svelte-webpack-starter

Svelte Webpack Starter

Svelte + Webpack 2 (tree shaking) Sample App

svelte-webpack-starter

Sample app with preconfigured Webpack 2 (with dev server and tree shaking), babel and svelte. Assembled JS is about 9 kB.

Setup

npm i -g yarn
yarn

Usage

Running in dev mode

npm start

Running in production mode

npm run prod

Build (production)

npm run build

Thanks

This repository is inspired by budgeting-sample-app-webpack2 and svelte-loader

License

MIT

Top categories

Loading Svelte Themes