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

Tree shaking - Glossary | MDN

developer.mozilla.org · 161 words · saved by 1 readers

Image & Video API: Real-time resizing, overlays, auto optimization, upload, storage & global CDN. Try forever free plan!Create free accountAd Web technology reference for developers Structure of content on the web Code used to describe document style General-purpose scripting language Protocol for transmitting web resources Interfaces for building web applications Developing extensions for web browsers Build web projects usable for all Web technology reference for developers Learn web development Learn web development Learn to structure web content with HTML Learn to style content using CSS Learn to run scripts in the browser Learn to make the web accessible to all A customized MDN experience Get real-time assistance and support All browser compatibility updates at a glance Learn how to use MDN Plus Frequently asked questions about MDN Plus Write, test and share your code Scan a website for free Get real-time assistance and support Tree shaking is a term commonly used within a JavaScri

Tree shaking - Glossary | MDN Skip to main content Skip to search Tree shaking Tree shaking is a term commonly used within a JavaScript context to describe the removal of dead code. It relies on the import and export statements to detect if code modules are exported and imported for use between JavaScript files. In modern JavaScript applications, we use module bundlers (e.g., webpack or Rollup ) to automatically remove dead code when bundling multiple JavaScript files into single files. This is important for preparing code that is production ready, for example with clean structures and minimal

Explore this link on the map →

related reading