rsnext/packages/next/build
Houssein Djirdeh aa93109156
[Script] Use __non_webpack_require__ to fetch partytown server-side (#35793)
A few errors about Next.js not correctly handling the missing partytown dependency in `_document.js` have been flagged. Instead of `/* webpackIgnore: true */`, this PR switches to use [`__non_webpack_require__`](https://webpack.js.org/api/module-variables/#__non_webpack_require__-webpack-specific) to ensure webpack doesn't process fetching the dep server-side. 

-----

Related issues: 

- #35645 
- https://github.com/vercel/next.js/issues/35630#issuecomment-1084365365
2022-03-31 19:44:15 +00:00
..
babel Enable import assertion syntax parsing (#33750) 2022-03-06 20:41:22 +00:00
jest Ensure mjs files are transformed with jest (#34698) 2022-03-09 13:49:58 +01:00
output chore: replace deprecated String.prototype.substr() (#35421) 2022-03-24 17:49:38 -04:00
polyfills Fix global process testing for the process polyfill (#33220) 2022-01-13 16:44:55 +00:00
swc SWC import modularization plugin (#34969) 2022-03-22 14:20:57 +01:00
webpack Fix typos (#35683) 2022-03-28 22:53:51 -05:00
compiler.ts partially migrate to webpack 5 types (#30189) 2021-10-24 23:04:26 +02:00
cssnano-simple.js Pre-compile more dependencies (#32627) 2021-12-20 14:01:35 +01:00
entries.ts Only resolve page runtime for react 18 and error on read failure (#35705) 2022-03-30 20:21:41 +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 Only resolve page runtime for react 18 and error on read failure (#35705) 2022-03-30 20:21:41 +00: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 Update terminal tree view for switchable runtime (#35394) 2022-03-26 02:19:51 +01:00
webpack-config.ts [Script] Use __non_webpack_require__ to fetch partytown server-side (#35793) 2022-03-31 19:44:15 +00: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