sladg / nextjs-lambda

Lambda deployments for Nextjs12 & Nextjs13 (standalone). Easy CLI commands to get your standalone Next output to run in AWS Lambda (not @Edge)! Uses CDK in behind and produces code zips importable to Terraform, Serverless, Azure, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Respect Next version

sladg opened this issue · comments

commented

Move Next into peer dependency and build layer manually via npx. Parse next version from parent (allow parameter) to ensure compatibility with our implementation.

This means that we either pre-build all possible Next layers into AWS and use ARNs or we build during deployment time, which means slowing down whole process, but does not require external resources.

commented

Use peerDependency definition for this.

commented

In place as of version 5.