fix(turbopack): Remove self-references from tree shaking results (#72567)
### What? Make the graph acyclic while condensation graphs so that the self-references do not exist. We are using `condensation` from `petgraph` and it has `make_acyclic: bool` option. I enabled it to make tree shaking a bit faster. ### Why? Self-reference in the module graph means slower build and needless runtime operations. ### How? Closes PACK-3439
Showing
Please
register
or
sign in
to comment