Favicon of Webpack

Webpack

Transform, bundle, and package JavaScript files and various assets for optimized browser performance with this powerful module bundler.

Screenshot of Webpack website

This tool serves as a robust module bundler designed to handle complex dependency graphs in modern web applications. By processing your source code, it generates optimized bundles that are ready for production, ensuring that your scripts and assets load efficiently in the browser. It is highly flexible, allowing you to manage not just JavaScript, but also CSS, images, and other resources through a plugin-based architecture.

To get started, you can install the core packages via npm and define your entry points. You have the flexibility to run the bundler with zero configuration or create a custom configuration file to tailor the output path, loaders, and optimization settings to your specific project needs. This level of control makes it an essential utility for developers looking to maintain clean and scalable codebases.

Key features include:

  • Dependency resolution for complex module systems.
  • Asset transformation via loaders for various file types.
  • Code splitting to improve initial load times.
  • Extensible plugin system for custom build logic.
Downloads
41,708,326
Stars
65,993
Last published
Mar 3, 2026
Last commit
38 minutes ago
License
MIT