webpack-cli
CLI for webpack & friends
Last updated 6 years ago by ev1stensberg .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install webpack-cli 
SYNC missed versions from official npm registry.

The official CLI of webpack


npm Build Status Build2 Status Dependency Status Code Climate chat on gitter Install Size

webpack CLI

About

webpack CLI provides a flexible set of commands for developers to increase speed when setting up a custom webpack project. As of webpack v4, webpack is not expecting a configuration file, but often developers want to create a more custom webpack configuration based on their use-cases and needs. webpack CLI addresses these needs by providing a set of tools to improve the setup of custom webpack configuration.

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.

Commands

Supporting developers is an important task for webpack CLI. Thus, webpack CLI provides different commands for many common tasks. We organize webpack CLI as a multi-package repository. Every command has a dedicated subfolder in the packages Folder.

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 we want to use the init functionality to create a new webpack.config.js configuration file:

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

You will answer many questions when running the init so webpack CLI can provide the best fitting configuration.

webpack CLI Scaffolds

With v3 of webpack CLI, we introduced scaffolding as an integral part of the CLI. Our goal is to simplify the creation of webpack configurations for different purposes. Additionally, sharing such solutions with the community is beneficial and with webpack Addon's we want to allow this. We provide webpack-scaffold as a utility suite for creating these add-ons. It contains functions that could be of use for creating an addon yourself.

You can read more about Scaffolding or check out the example project How do I compose a webpack-addon?.

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 documentation on contributing.

Current Tags

  • 4.0.0-alpha-5                                ...           4.0.0.0-alpha-5 (5 years ago)
  • 4.0.0-beta.9                                ...           beta (4 years ago)
  • 5.1.4                                ...           latest (a year ago)
  • 4.0.0-rc.1                                ...           next (4 years ago)

123 Versions

  • 5.1.4                                ...           a year ago
  • 5.1.3                                ...           a year ago
  • 5.1.2                                ...           a year ago
  • 5.1.1                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.2                                ...           2 years ago
  • 5.0.1                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 4.10.0                                ...           2 years ago
  • 4.9.2                                ...           3 years ago
  • 4.9.1                                ...           3 years ago
  • 4.9.0                                ...           3 years ago
  • 4.8.0                                ...           3 years ago
  • 4.7.2                                ...           3 years ago
  • 4.7.1                                ...           3 years ago
  • 4.7.0                                ...           4 years ago
  • 4.6.0                                ...           4 years ago
  • 4.5.0                                ...           4 years ago
  • 4.4.0                                ...           4 years ago
  • 4.3.1                                ...           4 years ago
  • 4.3.0                                ...           4 years ago
  • 4.2.0                                ...           4 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 4.0.0-rc.1                                ...           4 years ago
  • 4.0.0-rc.0                                ...           4 years ago
  • 4.0.0-beta.9                                ...           4 years ago
  • 3.3.12                                ...           4 years ago
  • 4.0.0-beta.8                                ...           5 years ago
  • 4.0.0-beta.7                                ...           5 years ago
  • 4.0.0-beta.6                                ...           5 years ago
  • 3.3.11                                ...           5 years ago
  • 4.0.0-beta.3                                ...           5 years ago
  • 4.0.0-beta.2 [deprecated]           ...           5 years ago
  • 4.0.0-beta.1                                ...           5 years ago
  • 4.0.0-beta.0                                ...           5 years ago
  • 3.3.10                                ...           5 years ago
  • 3.3.9                                ...           5 years ago
  • 3.3.8                                ...           5 years ago
  • 3.3.7                                ...           5 years ago
  • 3.3.6                                ...           5 years ago
  • 4.0.0-alpha-5                                ...           5 years ago
  • 3.3.5                                ...           5 years ago
  • 3.3.4                                ...           5 years ago
  • 3.3.3                                ...           5 years ago
  • 3.3.2                                ...           6 years ago
  • 3.3.1                                ...           6 years ago
  • 3.3.0                                ...           6 years ago
  • 3.2.3                                ...           6 years ago
  • 3.2.2                                ...           6 years ago
  • 3.2.1                                ...           6 years ago
  • 3.2.0                                ...           6 years ago
  • 4.0.0-alpha-4                                ...           6 years ago
  • 4.0.0-alpha-3                                ...           6 years ago
  • 4.0.0-alpha-2                                ...           6 years ago
  • 4.0.0-alpha-1                                ...           6 years ago
  • 4.0.0-alpha                                ...           6 years ago
  • 3.1.2                                ...           6 years ago
  • 3.1.1                                ...           6 years ago
  • 3.1.0                                ...           6 years ago
  • 3.0.8                                ...           6 years ago
  • 3.0.7                                ...           6 years ago
  • 3.0.6                                ...           6 years ago
  • 3.0.5                                ...           6 years ago
  • 3.0.4                                ...           6 years ago
  • 3.0.3                                ...           6 years ago
  • 3.0.2                                ...           6 years ago
  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.1.5                                ...           6 years ago
  • 2.1.4                                ...           6 years ago
  • 0.0.8-development                                ...           6 years ago
  • 0.0.7-development                                ...           6 years ago
  • 0.0.6-development                                ...           6 years ago
  • 0.0.5-development                                ...           6 years ago
  • 0.0.4-development                                ...           6 years ago
  • 0.0.3-development                                ...           6 years ago
  • 0.0.2-development                                ...           6 years ago
  • 0.0.1-development                                ...           6 years ago
  • 0.0.0-development                                ...           6 years ago
  • 2.1.3                                ...           7 years ago
  • 2.1.2                                ...           7 years ago
  • 2.1.1                                ...           7 years ago
  • 2.1.0                                ...           7 years ago
  • 2.0.15                                ...           7 years ago
  • 2.0.14                                ...           7 years ago
  • 2.0.13                                ...           7 years ago
  • 2.0.12                                ...           7 years ago
  • 2.0.11                                ...           7 years ago
  • 2.0.10                                ...           7 years ago
  • 2.0.9                                ...           7 years ago
  • 2.0.8                                ...           7 years ago
  • 2.0.7                                ...           7 years ago
  • 2.0.6                                ...           7 years ago
  • 2.0.5                                ...           7 years ago
  • 2.0.4                                ...           7 years ago
  • 2.0.3                                ...           7 years ago
  • 2.0.2                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.5.3                                ...           7 years ago
  • 1.5.2                                ...           7 years ago
  • 1.5.1                                ...           7 years ago
  • 1.5.0                                ...           7 years ago
  • 1.4.8                                ...           7 years ago
  • 1.4.7                                ...           7 years ago
  • 1.4.6                                ...           7 years ago
  • 1.4.5                                ...           7 years ago
  • 1.4.4                                ...           7 years ago
  • 1.4.3                                ...           7 years ago
  • 1.4.2                                ...           7 years ago
  • 1.4.1                                ...           7 years ago
  • 1.4.0                                ...           7 years ago
  • 1.3.9                                ...           7 years ago
  • 1.3.8                                ...           7 years ago
  • 1.3.7                                ...           7 years ago
  • 1.3.5                                ...           7 years ago
  • 1.3.4                                ...           7 years ago
  • 1.3.3                                ...           7 years ago
  • 1.3.2                                ...           7 years ago
  • 1.3.1                                ...           8 years ago
  • 1.3.0                                ...           8 years ago
  • 1.0.0                                ...           9 years ago
Downloads
Total 174
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 29
Dependencies (15)
Dev Dependencies (40)

© 2010 - cnpmjs.org x YWFE | Home | YWFE