Fixed middleware's edge-chunks not being copied in copyTracedFiles (#48723)
### What? This PR fixes middleware's edge-chunks not being copied in copyTracedFiles. ### How? Merging its files' handling with other pages' ones. ### Note I also want to exclude `process.turbopack` from the unsupported APIs list by checking if `key === 'turbopack'` in `createProcessPolyfill` and `warnForUnsupportedProcessApi`, but I want to have some opinion on this first as I don't know if `process.turbopack` works with the Edge runtime.
Showing
Please
register
or
sign in
to comment