rsnext/packages/next/build
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
..
babel fixes to allow lazy compilation for import() (#32441) 2021-12-14 11:33:04 +01:00
jest Add support for legacy decorators through tsconfig/jsconfig (#31376) 2021-11-13 18:26:13 +01:00
output fix amp validator message format (#31018) 2021-11-26 15:13:09 +00:00
polyfills Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
swc fixes to allow lazy compilation for import() (#32441) 2021-12-14 11:33:04 +01:00
webpack Include message body in redirect responses (#31886) 2021-12-16 05:41:43 +00:00
compiler.ts partially migrate to webpack 5 types (#30189) 2021-10-24 23:04:26 +02:00
cssnano-simple.js Use consistent postcss version for all transforms (#28529) 2021-09-02 08:45:35 +02:00
entries.ts Enable default functional document when concurrentFeatures is enabled (#31954) 2021-11-30 12:52:14 +00:00
generate-build-id.ts Fix generateBuildId type that can be async function (#28040) 2021-08-12 22:26:44 +00:00
index.ts Prevent NEXT_PHASE env change in workers (#28941) 2021-12-16 00:17:42 -06:00
is-writeable.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00
load-jsconfig.ts Experimental next/jest config helper (#31246) 2021-11-10 16:16:15 -08:00
spinner.ts [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
utils.ts Add initial standalone build handling (#31003) 2021-11-09 11:03:20 -06:00
webpack-config.ts Ensure experimental SWC options invalidate the cache (#32540) 2021-12-15 12:54:25 -06:00
worker.ts use a shared worker pool for collecting page data and static page generation (#27924) 2021-08-12 19:54:49 +00:00
write-build-id.ts Move code shared between server/client to "shared" folder (#26734) 2021-06-30 11:43:31 +02:00