Post

Rolldown was over-splitting compared to Rollup, I had to manually configure some groups. It has something to do with cycles across chunks and modules imported both through a static and dynamic imports chain, but I cannot get a minimal reproduction to show the same behavior.

Tried now, unfortunately it's not very helpful. In my case it's telling me that chunk C is its own chunk because it's imported both by chunk A and chunk B, which is indeed true, but it does not explain why it cannot just put it inside chunk A (where chunk B is only imported through import() by A)

0 reposts1 like