mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 04:22:07 +00:00
Similar to the default import fix from #10525 which was for Node runtime, but this one fixes Edge runtime. Also adds an E2E test for Remix v2, including both a Node route and Edge route.
4 lines
181 B
JavaScript
4 lines
181 B
JavaScript
import { createRequestHandler } from '@remix-run/server-runtime';
|
|
import * as build from '@remix-run/dev/server-build';
|
|
export default createRequestHandler(build.default || build);
|