You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The next.js server can run in minimal mode: https://github.com/vercel/next.js/blob/aa90fe9bb/packages/next/src/server/base-server.ts#L510-L511
94
-
// this avoids some extra (/problematic) `require` calls, such as here: https://github.com/vercel/next.js/blob/aa90fe9bb/packages/next/src/server/next-server.ts#L1259
95
-
// that's wht we enable it
96
-
"process.env.NEXT_PRIVATE_MINIMAL_MODE": "true",
97
95
// Ask mhart if he can explain why the `define`s below are necessary
98
96
"process.env.NEXT_RUNTIME": '"nodejs"',
99
97
"process.env.NODE_ENV": '"production"',
@@ -166,6 +164,8 @@ async function updateWorkerBundledCode(workerOutputFile: string, config: Config)
0 commit comments