cdklabs / cdklabs/cdk-nextjs

Create `NextjsImageOptimizationFunction`

Open
#193 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
108
Forks
12
Avg merge
1h 30m
Merged PRs (30d)
7

Description

Creating a dedicated `NextjsImageOptimizationFunction` will allow us to:
- not include `public/` folder in image
- Fix #192 since we can use buffered mode just for image optimization
- excluded 15MB sharp binary from render image

## Notes

- Can we use lambda power tools api gw / cloud front / alb -> lambda conversion?

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the existing Next.js image optimization and Lambda deployment entry points, then compare how the public/ folder, buffered mode, and sharp binary are handled; done means a dedicated NextjsImageOptimizationFunction addresses those goals and the API Gateway, CloudFront, or ALB conversion question has a settled direction.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, nextjs, nodejs, typescript
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.