rsnext/packages
Justin Braithwaite db91fbf407
Prevent NEXT_PHASE env change in workers (#28941)
`process.env.NEXT_PHASE` was moved in https://github.com/vercel/next.js/pull/20900 to be set during `staticCheckSpan.traceAsyncFn`. I believe this to be a mistake, the NEXT_PHASE should be set earlier in the code execution.

On a personal note, this impacts an application I am developing where we rely on the environment variable `NEXT_PHASE` to be set but is `undefined` when we check it.

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2021-12-16 00:17:42 -06:00
..
create-next-app v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
eslint-config-next v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
eslint-plugin-next v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
next Prevent NEXT_PHASE env change in workers (#28941) 2021-12-16 00:17:42 -06:00
next-bundle-analyzer v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
next-codemod v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
next-env v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
next-mdx v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
next-plugin-storybook v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
next-polyfill-module v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
next-polyfill-nomodule v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
next-swc next-swc: Emit errors and add tests to next-ssg (#32254) 2021-12-16 04:26:41 +00:00
react-dev-overlay v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
react-refresh-utils v12.0.8-canary.7 2021-12-15 13:31:38 -06:00