FormidableLabs / nextjs-serverless-demo

Simple Next.js on Lambda via Serverless demo
https://nextjs-sls-sandbox.formidable.dev/blog/
MIT License
9 stars 3 forks source link

Experiment: Next.js via `serverless` target. #4

Open ryan-roemer opened 3 years ago

ryan-roemer commented 3 years ago
ryan-roemer commented 3 years ago

Update

In https://github.com/FormidableLabs/nextjs-serverless-demo/tree/experiment/nextjs-serverless-mode we've got a very minimal POC up with:

... but it works in the following scenarios:

Package stats:

$ du -sh .serverless/blog.zip 
900K    .serverless/blog.zip
$ zipinfo .serverless/blog.zip | wc -l
      85

Next up, routing to different pages...