An opinionated starter template based on the rollup sapper-template. To clone it and get started:
# for Rollup
npx degit matt3224/sapper-start my-app
cd my-app
npm install # or yarn!
npm run dev
Open up localhost:3000 and start clicking around.
Consult sapper.svelte.dev for help getting started with Sapper itself.
Good question, I found myself doing these changes on every project and thought I'd save myself and you some time by making a little repo you could import just like the official sapper-template.
Here are the differences:
numworker: 1
in rollup.config to prevent crash on servers with a single processor core~
eg. import { util } from '~/utils.js';
If you run into an issue which you don't see in the normal sapper-template, open an issue.