yarbsemaj / sveltekit-adapter-lambda

An adapter to build a SvelteKit app into a lambda ready for deployment with lambda proxy via the Serverless Framework or CDK.
https://www.npmjs.com/package/@yarbsemaj/adapter-lambda
MIT License
77 stars 16 forks source link

Feature request: Options to run on Lambda@edge vs Lambda #26

Open aidan-gee opened 1 year ago

aidan-gee commented 1 year ago

Hi,

Great work on the adaptor.

I wanted to get your thoughts on having an option to deploy to lambda@edge or lambda. Is this something you have thought about already, would you be willing to accept a PR?

Thanks,

yarbsemaj commented 1 year ago

Hi @aidan-gee Thank You for your interest in my project!

It is something I have tough about but discounted for my use case due to its higher cost that running in region, I would however, happily accept a PR.

Thanks James

KieranFleckney commented 1 year ago

@aidan-gee Is this something you are going to do? I would love to see how to do this as I am new to cloudfront and Sveltekit. Or a example you have made.