Remove unnecessary Edge Runtime server HMR stub
The __turbopack_server_hmr_apply__ function is only called from the dev server (hot-reloader-turbopack.ts) which runs in Node.js, not in Edge Runtime. Edge Runtime (API routes/middleware) never calls this function, so the stub is unnecessary. The typeof check in hot-reloader-turbopack.ts handles undefined safely.
Showing
This diff is collapsed.
Please
register
or
sign in
to comment