8b9aa2dcc5
For debugging purposes, it can be useful to set `NODE_ENV=development` during a `next build`. Currently this value is forced to be production in Next.js. This PR adds an experimental flag to not force a mode of `production` when the flag is set. To use this flag, you'll still need to explicitly set `NODE_ENV=development`, while also enabling `nextConfig.experimental.allowDevelopmentBuild` Closes NEXT-3277 |
||
---|---|---|
.. | ||
app | ||
pages | ||
allow-development-build.test.ts |