flâneur — a map of the web's best reading

Demystifying Code Bundling with JavaScript Modules - Simple Thread

simplethread.com · 1,651 words · saved by 1 readers

What is JavaScript bundling? What are ECMAScript Modules? This article explains how we got here and removes some of the trepidation in using ESM today.

Worried you’ll miss us? Subscribe to get our articles and updates in your inbox. --> When I first began learning about web development in 2007, I had never heard of compiling JavaScript before deploying it to websites. The idea of JavaScript modules had not been formally introduced. At the time JavaScript was only about a decade old and the Chrome browser wouldn’t come out for another year. Those were simpler days when web developers wrote directly for browsers. In the early 2000s it was common practice to write just one main script for an entire website. Dependencies were in separate files th

Explore this link on the map →

saved by

related reading