Broken vercel deployment with solidstart 1.0.0 and pnpm monorepo - clientOnly does not load
Hi, I'm trying to deploy a solidstart app from a pnpm monorepo to vercel.
import { clientOnly } from "@solidjs/start";const ClientMapOnlyComponent = clientOnly(() => import("../Map"));export default function LeafletMap(props?: any) { return <ClientMapOnlyComponent />;}
import { clientOnly } from "@solidjs/start";const ClientMapOnlyComponent = clientOnly(() => import("../Map"));export default function LeafletMap(props?: any) { return <ClientMapOnlyComponent />;}
For some reason, it is ok with the vercel dev command but when deployed, the component does not load. (and sometimes, it is ok even in vercel environment)