Introduce NextMode (#49852)
This introduces a `NextMode` enum that controls which mode Next.js Turbo is currently running in: * `NextMode::Development`: `next dev` * `NextMode::Build`: `next build` Requires https://github.com/vercel/turbo/pull/4972 This also update Turbopack to `turbopack-230517.2` with the following changes: * https://github.com/vercel/turbo/pull/4972 <!-- Alex Kirszenberg - Configure React development flag, inherit NODE_ENV from execution context --> --------- Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment