rsnext/test/production
mknichel ca5bc989d1
Add experimental options for more parallelization in webpack builds (#60177)
This PR introduces 2 experimental options for doing more work in the
webpack build in parallel instead of in serial. These options may
improve the performance of builds at the cost of more memory.

`parallelServerAndEdgeCompiles`: This option kicks off the builds for
both `server` and `edge-server` at the same time instead of waiting for
each to complete before the next one. In applications that have many
server and edge functions, this can increase performance by doing that
work in parallel. This can be used with `next build` or `next
experimental-compile`.

`parallelServerBuildTraces`: This option starts the server build traces
as soon as the server compile completes and runs it in the background
while the other compilations are happening. With this option enabled,
some unnecessary work may be done since ordinarily the client
compilation provides information that can reduce the amount of tracing
necessary. However, since it is in parallel with the other work, it may
still result in a faster build in total at the cost of more memory. This
option is already the default when using `next experimental-compile` but
can now be used when `next build` is used also.

---------

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2024-01-10 17:11:33 -08:00
..
app-dir Add experimental options for more parallelization in webpack builds (#60177) 2024-01-10 17:11:33 -08:00
app-dir-edge-runtime-with-wasm chore: remove experimental appDir: true from tests (#52291) 2023-07-05 19:17:29 -07:00
app-dir-hide-suppressed-error-during-next-export Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
app-dir-prefetch-non-iso-url Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
app-dir-prevent-304-caching Prevent caching page with 304 status (#57737) 2023-10-31 17:48:03 -07:00
bfcache-routing fix bfcache restoration behavior (#54198) 2023-08-18 00:05:26 +02:00
build-spinners Use consistent name for App Router tests (#56352) 2023-10-06 11:06:06 +02:00
ci-missing-typescript-deps Add types as a default dependency into tests (#44140) 2022-12-19 19:05:53 +01:00
custom-error-500 Fix handling with custom _error and pages/500 (#40110) 2022-08-30 18:14:12 -05:00
custom-server server: bundle vendored react (#55362) 2023-09-15 19:49:39 +00:00
dependencies-can-use-env-vars-in-middlewares Remove static analysis of process.env (#50260) 2023-05-24 08:19:02 -07:00
deployment-id-handling Fix deploy id env handling when disabled (#57374) 2023-10-25 14:41:56 -07:00
disable-fallback-polyfills Update flakey polyfills and acceptance tests (#45313) 2023-01-26 10:25:47 -08:00
edge-config-validations Rename allowDynamic to unstable_allowDynamic (#40496) 2022-09-12 15:32:18 -07:00
edge-runtime-is-addressable Upgrade edge-runtime + make EdgeRuntime value overridable with an env var on compilation (#38331) 2022-07-12 15:18:59 +00:00
edge-safe-dynamic-code Skip build-time dynamic code checks for specific polyfills in the Edge runtime (#52009) 2023-07-04 14:18:02 +00:00
emit-decorator-metadata Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
enoent-during-require Ensure ENOENT error is not ignored when loading pages (#37486) 2022-06-06 14:35:26 -04:00
escheck-output Update swc_core to v0.75.23 (#48098) 2023-04-18 08:59:52 +02:00
eslint-plugin-deps Remove setPnpmResolutionMode as default is highest (#57828) 2023-11-04 21:19:51 +01:00
export chore(export)!: remove next export in favor of output: export in next.config.js (#57085) 2023-10-23 18:03:58 +00:00
exported-runtimes-value-validation feat: enhance warning messages about unanalyzable config field (#38907) 2022-07-22 19:31:47 +00:00
fallback-export-error chore(export)!: remove next export in favor of output: export in next.config.js (#57085) 2023-10-23 18:03:58 +00:00
fatal-render-errror Ensure default _app is used when falling back to default _error (#39467) 2022-08-10 11:36:22 -05:00
generate-middleware-source-maps feat: enables 'edge' as a possible runtime for API routes (#44045) 2022-12-15 10:08:03 +01:00
handle-already-sent-response Redesign nextjs logging (#54713) 2023-09-05 11:40:00 +00:00
ipc-forbidden-headers add "expect" to list of forbidden IPC headers (#53947) 2023-08-12 19:38:38 +00:00
jest Remove installCommand on typescript-auto-install and pnpm-support (#58039) 2023-11-05 18:32:10 +01:00
middleware-typescript Update default moduleResolution in tsconfig.json from node to bundler (#51957) 2023-07-18 15:11:09 +00:00
next-font Add next/font import (#45891) 2023-02-16 15:33:39 +01:00
pages-dir/production Revalidate Header Updates (#57162) 2023-10-23 19:37:46 +00:00
pnpm-support Remove installCommand on typescript-auto-install and pnpm-support (#58039) 2023-11-05 18:32:10 +01:00
postcss-plugin-config-as-string allow to provide postcss plugin options as a string (#35173) 2022-04-08 16:58:50 +00:00
prerender-prefetch Tweak flakey prefetch test handling (#53391) 2023-07-31 16:20:43 +00:00
reading-request-body-in-middleware fix(stream): Allows body larger than 16 KiB with middleware (#41270) 2022-10-17 15:26:16 -07:00
standalone-mode Fix resume stream handling (#58159) 2023-11-07 18:36:11 -08:00
supports-module-resolution-nodenext Fix failing TS test from new release (#54523) 2023-08-24 11:36:38 -07:00
transpile-packages transpilePackages should override default settings for external packages (#59385) 2023-12-13 19:04:57 +01:00
typescript-basic Fix next/dynamic types for resolving named export module (#43923) 2022-12-10 17:35:13 +00:00