···13131414Limitations:
15151616-- Sourcemaps are supported for `.ts` and `.svelte` files, but not for the preprocessors used inside `.svelte` files.
1717-- Linting for code-quality rules is not supported.
1616+- Source maps are supported for `.ts` and `.svelte` files, but not for the preprocessors used inside `.svelte` files
1717+- Linting for code-quality rules is not supported. Would need to use ESLint with eslint-plugin-svelte3, but that plugin needs to work with svelte-preprocess ([issue](https://github.com/sveltejs/eslint-plugin-svelte3/issues/10))
18181919## Recommended VSCode extensions
2020···2222- `syler.sass-indented` for Sass
2323- `esbenp.prettier-vscode` for Prettier
24242525-## Config
2525+## Setup
26262727-With this setup, `src/index.ts` is built and bundled into `public/build/`. If you want more entrypoints, add them to `experiments.optimize.entrypoints` in `snowpack.config.js`.
2727+`src/main.ts` is built and bundled into `build/bundle/`.
28282929-If you want `src` and `public` to be built and copied to a folder like `dist`:
3030-3131-1. Change the properties `mount` and `buildOptions.out` in `snowpack.config.js`
3232-2. Update `.gitignore` and the paths `public/index.html`
3333-3434-To disable source maps/`.map` files for builds, disable `buildOptions.sourceMaps` in `snowpack.config.js`.
2929+To disable source maps, disable `buildOptions.sourceMaps` in `snowpack.config.js`.
35303631## Commands
3732