rsnext/packages/next/build
Jiachi Liu 869039529c
Alias esm next document to avoid mismatch react context (#43192)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->

When using custom document and importing from `next/document`,
`HtmlContext` instance will mismatch due to CJS version of
`next/document` is consumed. Gotta alias it to the ESM version for edge
runtime

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
2022-11-21 14:15:55 -08:00
..
analysis Add missing matcher support (#42660) 2022-11-08 16:48:27 -08:00
babel Fix @next/font imports from outside of the root directory (#42678) 2022-11-09 13:22:45 -08:00
jest feat(jest): respect transpilePackages in tests (#42987) 2022-11-16 11:55:06 -08:00
output Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
polyfills Fix global process testing for the process polyfill (#33220) 2022-01-13 16:44:55 +00:00
swc feat(next/swc): allow to run custom turbopack binary (#42656) 2022-11-14 21:24:31 -08:00
webpack Add experimental outputFileTracingIgnores config (#43103) 2022-11-18 14:35:28 -08:00
compiler.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
cssnano-simple.js Pre-compile more dependencies (#32627) 2021-12-20 14:01:35 +01:00
entries.ts Alias next public api to esm on edge runtime (#42709) 2022-11-09 19:20:32 -08:00
generate-build-id.ts Fix generateBuildId type that can be async function (#28040) 2021-08-12 22:26:44 +00:00
index.ts Leverage outputFileTracingIgnores for next-server trace as well (#43108) 2022-11-18 15:39:39 -08:00
is-writeable.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00
load-jsconfig.ts Add handling for auto installing TypeScript deps and HMRing tsconfig (#39838) 2022-08-23 13:16:47 -05:00
spinner.ts [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
utils.ts Colocate styles with special entries (#42506) 2022-11-08 14:49:13 +01:00
webpack-config.ts Alias esm next document to avoid mismatch react context (#43192) 2022-11-21 14:15:55 -08:00
worker.ts Add handling for static generation in app (#40561) 2022-09-19 18:05:28 +00:00
write-build-id.ts Move code shared between server/client to "shared" folder (#26734) 2021-06-30 11:43:31 +02:00