JasonColeyNZ
JasonColeyNZ
CDCloudflare Developers
Created by JasonColeyNZ on 2/11/2024 in #pages-help
Remix Vite and cdn resources
Hi there, I have a Remix project using the new Vite build tools, all working as expected locally. I am using the vite external and output paths functions to use SyncFusion controls from their CDN network. However when i publish the site to CF Pages, I am getting a build error that it can't find the module... Error: Failed to publish your Function. Got error: Uncaught Error: No such module "https:/cdn.syncfusion.com/ej2/21.1.35/ej2-react-base/dist/ej2-react-base.min.js". Is there a setting somewhere that will allow this type of setup. The reason I had to do this was because of the 1Mb limit with functions.
2 replies
CDCloudflare Developers
Created by JasonColeyNZ on 2/8/2024 in #general-help
Remix Vite & CloudFlare
Hi all, I'm having trouble getting my app to build on CloudFlare. it just sits on remix vite:build and goes no further. Is there a way to show more verbose errors so I can find out why this is happening? If I run remix vite:build locally it build fine? Is there a way to see any other logs on Pages to see what is causing the issue?
4 replies