Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Rollup version #1

Open
PaulHax opened this issue Jun 8, 2019 · 1 comment
Open

Feature Request: Rollup version #1

PaulHax opened this issue Jun 8, 2019 · 1 comment

Comments

@PaulHax
Copy link

PaulHax commented Jun 8, 2019

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.

@Aias
Copy link

Aias commented Jul 18, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants