Having no luck with chunks over 500KB #15249
Unanswered
dlwhitehurst
asked this question in
Q&A
Replies: 1 comment
-
typo?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can someone please provide a solution, an explanation, a masking, or something that gets rid of the 500KB warning when running
npm run build
.? I've set the minSize = 1600 like all the posts across the internet, I've done the node_modules split thing invite.config.ts
and I've used a split plugin discussed in the Vite documentation. I am looking for the following:I'm a long-time enterprise Java professional that's doing a Vite React app and APIs for a startup business idea and while I have a beautifully running UI and APIs local, making HTML, JS, and CSS for my Kubernetes is exhibiting all sorts of problems. And, if 500KB is just some number that was chosen and my development of this React app has no limitations on overall size, then please explain why this warning is just not adjusted. My app is not ridiculously big, but I wouldn't expect a Vite app using 5 microservice APIs to be a big deal.
Any discussion here is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions