--- url: "https://web.dev/articles/webpack" titulek: "Webpack | Articles | web.dev" h1: "Webpack Stay organized with collections Save and categorize content based on your preferences." popis: "Bundling for modern web applications" jazyk: "en" kanonicka: "https://web.dev/articles/webpack" drobecky: ["Articles", "Webpack"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 22:29:32" znaku: 2026 slov: 260 kodovani: "iso-8859-2" sha256: "be12a39054a5452dbd1c05e00cb2c2e124d4d0de761035b322783ff42b38aea9" --- Webpack Stay organized with collections Save and categorize content based on your preferences. Bundling for modern web applications Addy Osmani Modern web applications often use a **bundling tool** to create a production "bundle" of files (scripts, stylesheets, etc.) that is [optimized](/articles/optimizing-content-efficiency-javascript-startup-optimization), [minified](/articles/optimizing-content-efficiency-optimize-encoding-and-transfer) and can be downloaded in less time by your users. In **Web Performance Optimization with webpack**, we will walk through how to effectively optimize site resources using [webpack](https://webpack.js.org/). This can help users load and interact with your sites more quickly. webpack is one of the most popular bundling tools in use today. Taking advantage of its features for optimizing modern code, [code-splitting](/articles/use-long-term-caching#lazy-load_code_that_you_dont_need_right_now) scripts into critical and non-critical pieces and stripping out unused code (to name but a few optimizations) can ensure your app has a minimal network and processing cost.  Inspired by [Code-splitting in Bundle Buddy](http://www.susielu.com/data-viz/bundle-buddy) by Susie Lu Let’s get started by looking at optimizing one of the costliest resources in a modern app – JavaScript. [Decrease Front-end Size](/articles/decrease-frontend-size) [Make Use of Long-term Caching](/articles/use-long-term-caching) [Monitor and analyze the app](/articles/monitor-and-analyze) [Conclusions](/articles/webpack-conclusion) Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates. Last updated 2018-02-08 UTC.