Reproduction link or steps
bundler explorer
What is expected?
The output to be same with Rollup.
What is actually happening?
The output contains a circular import and the behavior is different from the input.
System Info
Any additional comments?
Since manualChunks does have a note that it would change the execution order, this can be treated as an expected behavior. That said, it would be nice if the output is aligned with Rollup.
I encountered this in plugin-vue's playground and fixed on plugin-vue's repo side (vitejs/vite-plugin-vue#640).