John Nguyen
Oh CommonJS! Why are you mESMing with me?
#1about 6 minutes
A real-world conflict between CommonJS and ESM packages
An NPM package upgrade causes Jest tests to fail with a syntax error because an ESM-only dependency conflicts with Jest's CommonJS environment.
#2about 3 minutes
Understanding the origins of CommonJS and ESM modules
JavaScript module systems like CommonJS and ESM were created to manage growing codebases by allowing code to be split, shared, and reused.
#3about 1 minute
Examining the current landscape of module adoption
Statistics show that while CommonJS packages are still dominant, there is a clear and growing trend towards ESM adoption in the ecosystem.
#4about 3 minutes
Comparing unbundled CommonJS and ESM performance
An initial benchmark using the AWS SDK shows that the unbundled CommonJS implementation runs faster than its ESM counterpart.
#5about 2 minutes
How bundling reveals ESM's performance advantage
After bundling with esbuild, the ESM version is nearly half the size and runs significantly faster due to superior tree-shaking capabilities.
#6about 6 minutes
Why you should embrace an ESM-only future
ESM is the future due to smaller bundles, better performance, and its status as a web standard, making it a signal to modernize legacy dependencies.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
17:22 MIN
Leveraging native browser features for development
The Eternal Sunshine of the Zero Build Pipeline
13:11 MIN
Understanding the modern bloated build pipeline
The Eternal Sunshine of the Zero Build Pipeline
03:20 MIN
Why JavaScript and TypeScript dominate modern development
Modern Headless Commerce with Vendure
33:55 MIN
Audience Q&A on practical micro-frontend challenges
Micro-frontends anti-patterns
06:28 MIN
The evolution from simple scripts to compilation
The Eternal Sunshine of the Zero Build Pipeline
00:27 MIN
The architectural challenges of traditional Node.js backends
Nest.js - TypeScript in the backend can also be clean
06:24 MIN
Exploring the challenges and downsides of micro-frontends
Stairway to Heaven - Scaling Frontends the Right Way
43:48 MIN
The growing ecosystem around ESM-native tools
The Eternal Sunshine of the Zero Build Pipeline
Featured Partners
Related Videos
The 2025 State of JavaScript Testing
Daniel Afonso
The Eternal Sunshine of the Zero Build Pipeline
M4dz
Native Federation: The Future of Micro Frontends and Plugin-Systems in Angular
Manfred Steyer
JavaScript the Grumpy Parts
Rob Richardson
Micro-Frontends with Module Federation: Beyond the Basics
Manfred Steyer
Lies we Tell Ourselves As Developers
Stefan Baumgartner
10 must-know design patterns for JS Devs
Erick Wendel
4 Steps from JavaScript to TypeScript
Phil Nash
From learning to earning
Jobs that call for the skills explored in this talk.
Node.js / TypeScript Engineer - Developer Tools & Libraries
Symbolica AI
Charing Cross, United Kingdom
€65K
API
Python
Node.js
TypeScript
MERN Developer (Node.js / React / TypeScript / Next.js)
Standard 8
Charing Cross, United Kingdom
€80-85K
API
Azure
React
Node.js
+4
Node.js/Playwright Engineer - Testdriver Development
TechBiz Global GmbH
Canton of Montpellier-3, France
Remote
REST
Docker
Node.js
JavaScript
+1
Node.js/Playwright Engineer - Testdriver Development
TechBiz Global GmbH
Paris, France
Remote
REST
Docker
Node.js
JavaScript
+1

