next.js
5e2ac098 - chore: externalize undici for bundling (#64209)

Commit
1 year ago
chore: externalize undici for bundling (#64209) Currently acornjs has an issue with compiling undici, add undici externalize, once it's resolved we can remove the externalization for it ``` You may need an additional loader to handle the result of these loaders. | // 5. If object is not a default iterator object for interface, | // then throw a TypeError. > if (typeof this !== 'object' || this === null || !(#target in this)) { | throw new TypeError( | `'next' called on an object that does not implement interface ${name} Iterator.` Import trace for requested module: ../../../../node_modules/.pnpm/undici@6.12.0/node_modules/undici/lib/web/fetch/util.js ../../../../node_modules/.pnpm/undici@6.12.0/node_modules/undici/lib/web/fetch/headers.js ../../../../node_modules/.pnpm/undici@6.12.0/node_modules/undici/index.js ./app/undici/page.js ``` Closes NEXT-3030
Author
Parents
Loading