This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Support node --conditions/-C as a NODE_OPTION
.
#73916
Labels
Module Resolution
Module resolution (CJS / ESM, module resolving).
Output
Related to the the output configuration option.
Runtime
Related to Node.js or Edge Runtime with Next.js.
SWC
Related to minification/transpilation in Next.js.
Turbopack
Related to Turbopack with Next.js.
TypeScript
Related to types with Next.js.
Webpack
Related to Webpack with Next.js.
Link to the code that reproduces this issue
https://github.com/Falven/turborepo/tree/feature/debugging
To Reproduce
Run Nextjs with
NODE_OPTIONS -C=development
Current vs. Expected behavior
Next.js should allow conditions, including community conditions.
Provide environment information
Which area(s) are affected? (Select all that apply)
Developer Experience, Module Resolution, Output (export/standalone), Runtime, Turbopack, TypeScript, SWC, Webpack
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local), next start (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: