next.js
9c6eb145 - Turbopack: prevent duplicate NFT modules (#84369)

Commit
131 days ago
Turbopack: prevent duplicate NFT modules (#84369) Previously, you could have duplicate NFT modules (and duplicate analysis): - user code ESM imports external `twoslash` which loads `typescript` - user code CJS imports external `ts-morph` which loads `typescript` Both cases would get different asset contexts, due to `externals_tracing_module_context(ExternalType::CommonJS)` vs `externals_tracing_module_context(ExternalType::Esm)` <img width="2560" height="856" alt="Bildschirmfoto 2025-09-30 um 11 00 18" src="https://github.com/user-attachments/assets/7604783b-6e16-4b34-9af3-d8aa65a0cff8" />
Author
Parents
Loading