A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/T7x77/webpack-cli below:

T7x77/webpack-cli: Webpack's Command Line Interface

The official Command Line Interface of webpack

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.

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.

We organize webpack CLI as a multi-package repository using lerna. The main CLI logic using options, resides in packages/webpack-cli, while commands supported by the CLI, has dedicated subfolders in the folder packages.

A summary of supported commands is described below.

Supporting developers is an important task for webpack CLI. Thus, webpack CLI provides different commands for many common tasks.

If you have followed the Getting Started guide of webpack, then webpack CLI is already installed!

Otherwise, you would need to install webpack CLI and the packages you want to use.

If you want to create a fresh webpack project, the init command will guide you through setting up a project. Run the command as stated below.

npm i webpack-cli @webpack-cli/init

You will then be prompted for some questions about which features you want to use, such as scss, typescript, PWA support or other features.

Exit codes and their meanings Exit Code Description 0 Success 1 Errors from webpack 2 Configuration/options problem or an internal error Contributing and Internal Documentation

The webpack family welcomes any contributor, small or big. We are happy to elaborate, guide you through the source code and find issues you might want to work on! To get started have a look at our contribution documentation.

If you like webpack, please consider donating through Open Collective to help us maintain it.

Guidelines to how the webpack organization expects you to behave is documented under Code of Conduct


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4