next.js
f9a12ba5 - fix(turbopack): Fix duplicate modules when tree shaking: true (#78203)

Commit
1 year ago
fix(turbopack): Fix duplicate modules when tree shaking: true (#78203) ### What? Use the `ModulePart::export` fragment instead of resolving it as an internal fragment. Additionally, this PR removes the concept of `ModulePart::InternalEvaluation` because it's not required anymore. ### Why? Treating them as internal fragments causes a duplicate module identifier error. ### How? Closes PACK-4367 --------- Co-authored-by: Benjamin Woodruff <benjamin.woodruff@vercel.com>
Author
Parents
Loading