Folked from sveltejs/template and be customized.
To create a new project based on this template using degit:
npx degit leechiryo/template svelte-app
cd svelte-app
Note that you will need to have Node.js installed.
Install the dependencies...
cd svelte-app
npm install
...then start Rollup:
npm run dev
Different with the origin template, the http server will not be started.
The compiled js and css file will be output to the directory ./public/build/
To create an optimised version of the app:
npm run build
You can run the newly built app with npm run start
. This uses sirv, which is included in your package.json's dependencies
so that the app will work when you deploy to platforms like Heroku.