Add experimental pre-compiled next-server (#43198)
This implements an experimental config to leverage a pre-compiled version of `next-server` which avoids the need for build-time tracing of `next-server` dependencies and also optimizes the files included to only have necessary dependencies in environments with full Next.js support. Leveraging this config reduces `output: 'standalone'` size by `5 MB` uncompressed and around `1MB` compressed. <details> <summary>Before</summary>  </details> <details> <summary>After</summary>  </details> x-ref: [slack thread](https://vercel.slack.com/archives/C03KAR5DCKC/p1669062037261249?thread_ts=1668993202.171709&cid=C03KAR5DCKC) x-ref: [slack thread](https://vercel.slack.com/archives/C041SKJRH7W/p1665850356157749)
Showing
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment