rsnext/test/production/allow-development-build
Zack Tanner 8b9aa2dcc5
add experimental flag to allow forcing NODE_ENV=development in builds (#65463)
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
2024-05-07 11:35:13 -07:00
..
app add experimental flag to allow forcing NODE_ENV=development in builds (#65463) 2024-05-07 11:35:13 -07:00
pages add experimental flag to allow forcing NODE_ENV=development in builds (#65463) 2024-05-07 11:35:13 -07:00
allow-development-build.test.ts add experimental flag to allow forcing NODE_ENV=development in builds (#65463) 2024-05-07 11:35:13 -07:00