Webpack

Open Source

by Webpack

Provided by Webpack

Not yet rated
Platform
Web
Pricing
Open Source
Account required
No
Ads
None
Last verified
9 hours ago
Developer
Webpack
Official URL

Overview

Webpack is an open-source build tool for web projects. It starts from an entry point, follows every file that entry refers to (scripts, stylesheets, images and so on) and packs the lot into output files a browser can load, rewriting the addresses inside them to match.

The current documentation shows that an HTML page can itself be the entry point, and that HTML, CSS and JavaScript are handled without extra add-ons in that basic case. For anything else there are loaders, which preprocess other file types such as TypeScript, Sass or images, and a plugin interface that most of webpack's own features are built on. It understands ES modules, CommonJS and AMD, and can split code into chunks that load on demand. A development mode keeps output readable and mapped back to the source; production mode minifies and drops unused code.

It is installed from npm and run from the command line, so it is a tool for developers. The project sits under the OpenJS Foundation, is MIT licensed, and is paid for by sponsors and Open Collective donations.

Features

  • Bundles scripts, styles, images and other assets starting from one entry point
  • Accepts an HTML page as the entry and rewrites its asset links
  • Loaders preprocess other file types such as TypeScript, Sass and images
  • Plugin interface for extending or changing the build
  • Code splitting into chunks that load at runtime
  • Supports ES modules, CommonJS and AMD
  • Development and production modes with source mapping and minification
  • Can emit ES module output

Privacy

See the official privacy policy. Webpack runs locally as part of your build and needs no account.

Pros & Cons

Pros

  • Free and MIT licensed, with no account or service to sign up for
  • Runs entirely on your own machine
  • Loader and plugin system covers most project setups
  • Extensive guides, concept pages and a glossary on the official site

Cons

  • Configuration takes time to learn, especially for larger projects
  • Command-line tool only, with no graphical interface
  • Much of the core team works on it in spare time and relies on donations

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools

  • Frontend Development · Vite

    Bundles and serves frontend code with near-instant hot reload.

    Not yet rated
    Open Source Windows Linux
  • Frontend Development · Parcel

    Bundles web applications with zero configuration.

    Not yet rated
    Open Source Web
  • Frontend Development · Storybook

    Develops and tests UI components in isolation.

    Not yet rated
    Open Source Web