-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase memory for server function on Next.js with image optimization #7940
base: master
Are you sure you want to change the base?
Conversation
src/frameworks/index.ts
Outdated
@@ -538,6 +539,12 @@ ${ | |||
|
|||
// TODO move to templates | |||
|
|||
if (frameworksBackend && framework === "next") { | |||
if (await isUsingImageOptimization(getProjectPath(), ".next")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we need to do this only for Next 15?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The memory issue is happening on Next 14 and 13 as well 🫠
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7940 +/- ##
==========================================
- Coverage 51.19% 51.14% -0.05%
==========================================
Files 423 423
Lines 29544 29580 +36
Branches 6031 6039 +8
==========================================
+ Hits 15125 15130 +5
- Misses 13059 13090 +31
Partials 1360 1360 ☔ View full report in Codecov by Sentry. |
…rebase/firebase-tools into chalosalvador/nextjs-memory-image-opt
Description
Scenarios Tested
Sample Commands