Hi,
I’m using the integration with git and it built my js project and deployed it smoothly … until now
On that github, I have a bunch of assets on a subfolders that aren’t meant to be deployed, and now one of them is above the maximum size for pages:
Deploying your site to Cloudflare's global network...
✘ [ERROR] **Error: Pages only supports files up to 26.2 MB in size**
is there a way to exclude a folder from being deployed to cloudflare pages?
Hi @user58114,
there a way to exclude a folder from being deployed to cloudflare pages?
You will need to update your build command to remove those files (or do it in a script.)
Something like:
rm -rf ./assets/stuff-that-shouldnt-be-uploaded
Thanks,
of course, this is part of the build.
I modified the rollup config to do it (well, to be more specific on what it was making public) and voila, problem solved
1 Like
system
Closed
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.