All Projects → webpack → Webpack Cli

webpack / Webpack Cli

Licence: mit
webpack CLI provides the interface of options webpack uses in its configuration file. The CLI options override options passed in the configuration file.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
Smarty
1635 projects
coffeescript
4710 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Webpack Cli

Angular Librarian
An Angular 2+ scaffolding setup for creating libraries
Stars: ✭ 92 (-95.95%)
Mutual labels:  webpack, cli, scaffold
Cjstoesm
A tool that can transform CommonJS to ESM
Stars: ✭ 109 (-95.2%)
Mutual labels:  webpack, cli
Think Builder
A command line toolit to build applications' CRUD/mvc scaffold for thinkphp v6. 用于生成 thinkphp v6 增查改删脚手架代码的命令行工具。
Stars: ✭ 105 (-95.37%)
Mutual labels:  cli, scaffold
Cli Spring Boot Scaffold
command line for generate crud and configs for spring boot projects
Stars: ✭ 113 (-95.02%)
Mutual labels:  cli, scaffold
Cra Generate
Scaffold a React component.
Stars: ✭ 78 (-96.56%)
Mutual labels:  cli, scaffold
Awesome React Generator
No more clicking around to create files in your react project! Awesome React Generator is Command Line Tool that let's you scaffold your components without leaving your terminal.
Stars: ✭ 98 (-95.68%)
Mutual labels:  cli, scaffold
Nutmeg
Build, test, and publish vanilla Web Components with a little spice
Stars: ✭ 111 (-95.11%)
Mutual labels:  webpack, cli
Create Ava
Add AVA to your project
Stars: ✭ 14 (-99.38%)
Mutual labels:  cli, scaffold
Create Elm App
🍃 Create Elm apps with zero configuration
Stars: ✭ 1,650 (-27.31%)
Mutual labels:  webpack, cli
Mhy
🧩 A zero-config, out-of-the-box, multi-purpose toolbox and development environment
Stars: ✭ 128 (-94.36%)
Mutual labels:  webpack, cli
Expo Cli
Tools for creating, running, and deploying universal Expo and React Native apps
Stars: ✭ 1,993 (-12.2%)
Mutual labels:  webpack, cli
Angular Cli Webpack
Webpack configuration modifier for @angular/cli
Stars: ✭ 72 (-96.83%)
Mutual labels:  webpack, cli
React Scaffold
The best scaffold for React
Stars: ✭ 27 (-98.81%)
Mutual labels:  webpack, scaffold
Drupal Console
The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
Stars: ✭ 913 (-59.78%)
Mutual labels:  cli, scaffold
Baumeister
👷 The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
Stars: ✭ 171 (-92.47%)
Mutual labels:  webpack, scaffold
Easywebpack Cli
A Powerful Cross-platform Webpack CLI Tool
Stars: ✭ 110 (-95.15%)
Mutual labels:  webpack, cli
Mrm
Codemods for your project config files
Stars: ✭ 900 (-60.35%)
Mutual labels:  cli, scaffold
Feflow
🚀 A command line tool aims to improve front-end engineer workflow and standard, powered by TypeScript.
Stars: ✭ 942 (-58.5%)
Mutual labels:  webpack, cli
Template
A super-simple way to create new projects based on templates.
Stars: ✭ 120 (-94.71%)
Mutual labels:  cli, scaffold
Micro Starter
[Deprecated] 🔷 Basic (opinionated) starter kit for a micro app with webpack build
Stars: ✭ 144 (-93.66%)
Mutual labels:  webpack, cli

webpack CLI

The official CLI of webpack


npm Build Status codecov Dependencies Install Size Chat on gitter

Table of Contents

About

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

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

Otherwise npm install --save-dev webpack-cli or yarn add webpack-cli --dev will install it.

Supported arguments and commands

Get to know what are the available commands and arguments here.

Packages

We organize webpack CLI as a multi-package repository using lerna. The main CLI logic 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.

Commands

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

Utilities

The project has several utility packages which are used by other commands

  • generators - Contains all webpack-cli related yeoman generators.

Getting started

When 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 use the init command to create a new configuration file:

npm i webpack-cli @webpack-cli/init
npx webpack-cli init

You will be prompted for some questions about which features you want to use, such as scss, PWA support or multiple entry-points.

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.

Open Collective

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

Code of Conduct

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].