Please Wait... Loading: A Talk of Two Loaders
summary
Node.js implements ES modules behind --experimental-modules with ESM files forced to use dot MJS extension, no transparent CJS interop (CJS imports appear as a default), and CJS-to-ESM requires the createRequire workaround plus fileURL handling. A 49‑member modules team across ~10 countries and ~10 companies produces a minimal kernel (phase one) that omits Node resolver features; phase plan adds extensible userland loaders and performance work. Runtime supports dynamic import and import.meta today; goal is unflagged shipping by Node 12.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 0:30Glossary of terms
- 3:46History of JS modules
- 5:56Node.js ESM implementation
- 9:46Loaders and execution
- 14:29Specifier resolution
- 18:13Module goals
- 23:08Modules team formation
- 25:15Minimal kernel and Interop
- 28:37Future plans
- 30:20Conclusion
related talks
22mPlease wait... loading: a tale of two loaders
29mExtra Special Modules
26mNode Es Modules - Something Almost, but not Quite Entirely Unlike Commonjs
30mESM Loaders: Enhancing Module Loading in Node.js
22mESM Loaders: Enhancing Module Loading in Node.js
32mES Modules in Node JS
24mNavigating the Wild Seas of Native ES Modules
47mNative JavaScript Modules: import {Browsers, Node.js}; export {production};
