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:
Build process stalls at
solid-start rendering index.html...
2 replies
Cannot exclude an external package from server bundle file
Hello humans. It's been 2 days now that I am struggling with this issue of not being able to exclude
@supabase/supabase-js
and its dependancies from the final server.js
file. I am using Cloudflare workers solid adapter. I've tried all possible combinations to mark the library as external with no luck. Here is my vite.ts file.
Built server.js
has traces of supabase being bundles into the file and also its dependecies as well.
I need to end up with server simply having depencies imported as:
Any help would be greatly appreciated.2 replies