[READ-ONLY] Mirror of https://github.com/probablykasper/svelte-template. Svelte + Vite + HMR + TypeScript + Preprocessor support
svelte template
0

Configure Feed

Select the types of activity you want to include in your feed.

Enable source maps in dev only

Kasper (Mar 10, 2021, 11:48 PM +0100) 13a3ccb2 86988029

+2 -2
+1 -1
README.md
··· 26 26 27 27 `src/main.ts` is built and bundled into `build/bundle/`. 28 28 29 - To disable source maps, disable `buildOptions.sourceMaps` in `snowpack.config.js`. 29 + To disable source maps, disable `buildOptions.sourcemap` in `snowpack.config.js`. 30 30 31 31 ## Commands 32 32
+1 -1
snowpack.config.js
··· 12 12 }, 13 13 buildOptions: { 14 14 out: './build', 15 - sourcemap: true, 15 + sourcemap: process.env.NODE_ENV === 'development', 16 16 clean: true, 17 17 }, 18 18 optimize: {