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.
MIT License
169 stars 19 forks source link

Handlers do not include dependencies. #28

Closed sladg closed 1 year ago

sladg commented 1 year ago

Rollup build does not include dependencies as esbuild does. Using node-resolve plugin with commonjs plugins in rollup does not work properly, switch to esbuild is probably wise move.

sladg commented 1 year ago

Fixed by #29