Command-line tool
webpack
brew/webpack
Checked 26 Oct 2026, 08:31 UTC · Still published on npm
Bundler for JavaScript and friends
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 26 Oct 2026, 08:31 UTC
Install it
Windows
npm install -g webpack
macOS
brew install webpack npm install -g webpack
Linux
npm install -g webpack
Create a single output file from an entry point file
webpack app.js bundle.js
Load CSS files too from the JavaScript file (this uses the CSS loader for CSS files)
webpack app.js bundle.js --module-bind 'css=css'
Pass a configuration file (with e.g. the entry script and the output filename) and show compilation progress
webpack -c webpack.config.js --progress
Related command-line tools
- webpack-cli
CLI for webpack & friends webpack cli scaffolding module bundler web - shakapacker
Use webpack to manage app-like JavaScript modules in Rails - esbuild
Extremely fast JavaScript bundler and minifier - bun
Incredibly fast JavaScript runtime, bundler, test runner, and package manager rust react typescript npm javascript… - Bun Profile
JavaScript runtime and toolkit. Includes a bundler, a test runner, and a package manager. rust react typescript npm… - Bun Baseline Profile
JavaScript runtime and toolkit. Includes a bundler, a test runner, and a package manager. rust react typescript npm… - mocha-webpack
mocha cli with webpack support webpack mocha - webpack-serve
A CLI for webpack-plugin-serve, providing a premier webpack development server development devserver serve server…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents