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
02:44 MIN
The evolution from Webpack to bundler-agnostic federation
Native Federation: The Future of Micro Frontends and Plugin-Systems in Angular
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
Related Articles
View all articles



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

TypeScript AWS Developer
TechShack
Charing Cross, United Kingdom
£156-182K
Senior
Terraform
TypeScript
Microservices
Amazon Web Services (AWS)


Fullstack Developer (Typescript / AWS)
Citrus
Oisterwijk, Netherlands
Remote
€7-11K
Senior
React
DevOps
Vue.js
+12


Full Stack Engineer TypeScript Elixir AWS
Client Server
Esher, United Kingdom
Remote
£85-100K
Senior
C++
Java
Python
+3

Senior Full-Stack TypeScript Engineer (React, Node, TypeScript, AWS)
Provectus
Remote
API
GIT
JSON
REST
+11

Back-End Platform Engineer (Node.js / AWS / Typescript)
team.blue Global
Barcelona, Spain
Remote
Senior
Node.js
TypeScript
Continuous Integration
Amazon Web Services (AWS)

Senior Full Stack Engineer TypeScript Elixir AWS
Client Server
Charing Cross, United Kingdom
£85-100K
Senior
C++
Java
Python
Elixir
+2
