From ef0915df4ff1dc1cdcd2124bc901b65b1b39e85e Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:49:10 -0400 Subject: [PATCH] Fix remix dev server being goofy in node16 module resolution --- server.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.ts b/server.ts index dc7e4d8..25124f0 100644 --- a/server.ts +++ b/server.ts @@ -1,5 +1,6 @@ import { createPagesFunctionHandler } from "@remix-run/cloudflare-pages"; -import * as build from "@remix-run/dev/server-build.js"; +// @ts-ignore +import build from "@remix-run/dev/server-build."; const handleRequest = createPagesFunctionHandler({ build,