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.
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
tree-IT GmbH
Bad Neustadt an der Saale, Germany
€54-80K
Intermediate
Senior
Java
TypeScript
+1
Matching moments
04:41 MIN
The evolution from Webpack to bundler-agnostic federation
Native Federation: The Future of Micro Frontends and Plugin-Systems in Angular
04:17 MIN
How bundlers work and why they are necessary
Tree Shaking the Bytes Away
02:13 MIN
Sharing libraries and handling version conflicts
Micro Frontends with Module Federation: Why and How?
05:02 MIN
Reflecting on 30 years of JavaScript and the rise of TypeScript
WeAreDevelopers LIVE – Guten TAG, Web Standards, AI and more
02:56 MIN
Identifying the most common pain points in JavaScript testing
The 2025 State of JavaScript Testing
02:49 MIN
Leveraging native browser features for development
The Eternal Sunshine of the Zero Build Pipeline
03:37 MIN
Leveraging the TypeScript compiler and modern runtimes
End-to-End TypeScript: Completing the Modern Development Stack
02:57 MIN
Integrating micro frontends with module federation
Advanced Micro Frontends: Multi-Version and Multi-Framework Scenarios
Featured Partners
Related Videos
Native Federation: The Future of Micro Frontends and Plugin-Systems in Angular
Manfred Steyer
The 2025 State of JavaScript Testing
Daniel Afonso
The Eternal Sunshine of the Zero Build Pipeline
M4dz
JavaScript the Grumpy Parts
Rob Richardson
Advanced Micro Frontends: Multi-Version and Multi-Framework Scenarios
Manfred Steyer
Micro-Frontends with Module Federation: Beyond the Basics
Manfred Steyer
Lies we Tell Ourselves As Developers
Stefan Baumgartner
4 Steps from JavaScript to TypeScript
Phil Nash
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


Citrus
Amsterdam, Netherlands
Remote
€7-11K
Senior
React
DevOps
Vue.js
+12

Westhouse Consulting GmbH
Mainz, Germany
Intermediate
ETL
JIRA
Scrum
Redis
React
+9

J&T Business Consulting
Conwy, United Kingdom
Intermediate
MVC
GIT
React
Vue.js
Node.js
+4


Provectus
Remote
API
GIT
JSON
REST
+11

smava
Berlin, Germany
Senior
MySQL
Redis
React
DevOps
Node.js
+8

Content Pass GmbH
Berlin, Germany
Senior
API
Node.js
JavaScript
TypeScript
Continuous Integration

Hypoport AG
Remote
Senior
API
React
DevOps
Node.js
+4