Broken Chunks
#4992
Replies: 3 comments 6 replies
-
Very likely your chunking introduced a cyclic dependency, which can cause exactly the issue you mentioned. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
Good job! |
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
-
Hello i'm using vite,
i'm triyng to group a bit the produced chunks because rollup is generating a bunch of very small files...
i can for example say that "X,Y,Z" are a nececity for all the pages in the app thus might be bundled in a vendor chunk.
If i understand correctly i should (did) use manualChunks.
i did add a few deps in given chunks like that... but if i try to group more of then
i end up with non functioning app.... like trying to get undefined var, ... not sure why it's happening ....
what am i doing wrong ?
what can i look at?
Beta Was this translation helpful? Give feedback.
All reactions