S
SolidJS2y ago
RONEN

Build process stalls when global variables present

I am using solid-start and cloudflare-workers plugin for vite. I have API secrets that I defined within cloudflare. My problem is that my build process gets stalled when I define variables using these secrets, like so:
const secret: string = import.meta.env.DEV ? (process.env.SESSION_SECRET as string) : SESSION_SECRET
const secret: string = import.meta.env.DEV ? (process.env.SESSION_SECRET as string) : SESSION_SECRET
Build process stalls at solid-start rendering index.html...
1 Reply
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server