vite config to mimic splitVendorChunkPlugin #17566
Unanswered
jchabotamica
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anybody have any pointers on how to handle the deprecated splitVendorChunkPlugin but with manualChunks/entryFileNames/chunkFileNames configuration properly? I seem to only be able to split every single vendor into a separate chunk, or combine every vendor into a single chunk - the latter leads to a lot of unused javascript on initial page load. splitVendorChunkPlugin properly took the entry chunk and split out the vendor modules from it to its own chunk. Since it is deprecated, I've been struggling to figure out how to do this with manualChunks and entryFileNames.
Beta Was this translation helpful? Give feedback.
All reactions