skip to content

CJS / ESM Interoperability

0 questions

Consuming CommonJS from ESM: the default-export shape, the heuristic named-export detection, conditional exports, and how a bundler's forgiving interop differs from Node's strict one. Interviewers ask because the dual-package hazard - two copies of one library with separate state - is subtle and painful to diagnose.

questions

no questions here yet

this part of the tree is still being written

>
0 questions in this topic or below it