rsnext/test/e2e/app-dir/app-external
Jiachi Liu 5e2ac0986f
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
2024-04-09 07:26:53 +00:00
..
app chore: externalize undici for bundling (#64209) 2024-04-09 07:26:53 +00:00
components Fix resolving for esm package with only exports.import condition (#42767) 2022-11-11 00:50:46 +00:00
node_modules Turbopack: app externals test case improvements (#62871) 2024-03-14 07:22:40 +00:00
pages Eagerly bundle external ESM dependencies for pages (#42741) 2022-11-10 18:11:38 +01:00
app-external.test.ts chore: externalize undici for bundling (#64209) 2024-04-09 07:26:53 +00:00
middleware.js Fix next/server api alias for ESM pkg (#61721) 2024-02-06 16:59:24 +00:00
next.config.js Fix react-refresh for transpiled packages (#60563) 2024-01-12 21:44:41 +01:00