?CloudFlare - `Validating asset` "Pages only supports files up to 25 MiB in size"
Basic
T3
/ tRPC
+ Tw
+ R3F
And I do have extensive Asset Images and content.json
List,
Located within the public
folder,
But besides that all I have is one basic welcome Page, and one simple THREE Canvas Page.
What Can I do?3 Replies
I've found and tried adding:
&& rm -rf cache
to build
command,
With no Success, yet.
src: https://github.com/cloudflare/workers-sdk/issues/2516#issuecomment-1375546028
Is this directly correlated to my Assets (~15mb)?
Because otherwise id have to host them somehow.
And the Cheapest Solution I can think of is Self-Hosting Supabase
.
I was already considering it for Auth and Online Editing,
but seems really dumb if its just ~15mb to be the culprit.
Only other assumption is THREE
/Fiber
/Drei
is too much to bundle as is.
No clue what I can do about that.npm
@next/bundle-analyzer
Use
webpack-bundle-analyzer
in your Next.js project. Latest version: 14.2.12, last published: 2 days ago. Start using @next/bundle-analyzer in your project by running npm i @next/bundle-analyzer
. There are 207 other projects in the npm registry using @next/bundle-analyzer.Honestly easier to just self host