My opinionated SvelteKit template in pure JavaScript.
This template is derived from the official template.
Some notable customizations are:
package-lock.json
is NOT committed on purpose- The included adapter is changed from
auto
to@sveltejs/adapter-node
, assuming that you are not targeting any specific deployment target. - Split tsconfig of web/test/node environments via cascading
tsconfig.*.json
to avoid lib pollution while maintaining reasonable IDE/LSP expectations.- tsbuildinfos are always deleted after a
svelte-kit sync
run. This is intended to convince tsc to write new ones.
- tsbuildinfos are always deleted after a
git clone https://github.com/qbane/sveltekit-template.git
cd sveltekit-template
rm -rf .git .github LICENSE
git init
npm i