{"repo":"webpack/webpack-cli","free":true,"listed":false,"github":"https://github.com/webpack/webpack-cli","clone":"git clone https://github.com/webpack/webpack-cli.git","description":"Webpack's Command Line Interface","language":"JavaScript","stars":2613,"topics":["webpack","cli","scaffold"],"license":"MIT","category":"cli-tools","readme_excerpt":"webpack CLI The official Command Line Interface of webpack [![npm][npm]][npm-url] [![Build Status][build-status]][build-status-url] [![codecov][codecov-badge]][codecov-url] [![Install Size][size]][size-url] [![GitHub Discussions][discussion]][discussion-url] [![Discord][discord-invite]][discord-url] Table of Contents - Introduction - How to install - Supported arguments and commands - Packages - Commands - Getting started - Exit codes and their meanings - Contributing and Internal Documentation - Funding Introduction Webpack CLI provides the interface of options webpack uses in its configuration file. The CLI options override options passed in the configuration file. The CLI provides a rich set of commands that helps you develop your application faster. How to install If you have followed the Getting Started guide of webpack then webpack CLI is already installed! Otherwise npm install --save-dev webpack-cli , yarn add webpack-cli --dev or pnpm add --D webpack-cli will install it. Supported arguments and commands Get to know what are the available commands and arguments here. Packages The main CLI logic using options, resides in packages/webpack-cli . A summary of supported commands is described below. Commands Supporting developers is an important task for webpack CLI. Thus, webpack CLI provides different commands for many common tasks. - [ build bundle b [entries...] [options] ](https://webpack.js.org/api/cli/#build) - Run webpack (default command, can be omitted). - [ confi","default_branch":null,"files":null,"tree":[],"storefront":"/r/webpack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/webpack/webpack-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}