skip to content

Browser vs Node Loading

0 questions

Two hosts, two loaders: browsers need module-type script tags, correct MIME types and CORS, with import maps for bare specifiers; Node needs the type field or .mjs/.cjs plus an exports map. Interviewers ask because code that runs in one and fails in the other is a weekly occurrence, and extensionless imports are a classic culprit.

questions

no questions here yet

this part of the tree is still being written

>
0 questions in this topic or below it