This is a project template for Svelte 3 apps using Webpack 5 and Typescript.
- Svelte Loader w/ HMR, Svelte Preprocess, File loader, CSS loader, TS Loader
- Jest test runner w/ Svelte Testing Library
- Production mode. Optimized bundles with code splitting
You will need to have Node.js installed.
First..
npm installStart Webpack-dev-server. Navigate to localhost:9000
npm startRun unit tests
npm testRun unit tests in watch mode
npm run test:watchCompile development source code and copy into the public/build directory
npm run build:devCompile optimized source code and copy into the public/build directory
npm run build:prodManually clean the build directory
npm run clean