© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
1 reply
JasonColeyNZ

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.
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Need Help - Remix + Vite (Cloudflare Pages)
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
Deploying Remix w/Vite (dev v. prod)
Cloudflare DevelopersCDCloudflare Developers / pages-help
14mo ago
.env variables not working with Remix + Vite
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago
Remix and Vite - 2 error(s) and 0 warning(s) when compiling Worker.
Cloudflare DevelopersCDCloudflare Developers / pages-help
2y ago