sapper-netlify-jamstack-starter
sapper-netlify-jamstack-starter copied to clipboard
Feature Request: Rollup version
Thanks for this. Found via google search -> your blog. Would be nice to have a version based on the Rollup Sapper template as that seems better supported by the Svelte folks right now.
I also started with the rollup template and then worked in some of the ideas from this repo. If you've already got a project started with rollup, there's absolutely no difference between the rollup.config.js in this repo and the one in the sapper starter. So getting the lamba stuff to work is just a matter of making the same changes to the rollup version:
- Install cross-env and netlify-lambda as dependencies
- Install http-proxy-middleware and npm-run-all as devDependencies
- Update dev/build scripts in package.json
- Add netlify.toml
- Update src/server.js
- Add functions/hello.js
- Update src/routes/index.svelte