@webpack-cli/add

v0.2.2
A scaffold for adding new properties

webpack-cli add

NPM downloads

Description

This package contains the logic to add new properties in a webpack configuration file. It will run a generator that prompts the user for questions of which property to add to their webpack configuration file.

Installation

npm i -D webpack-cli @webpack-cli/add

or

yarn add --dev  webpack-cli @webpack-cli/add

Usage

To run the scaffolding instance programmatically, install it as a dependency. When using the package programmatically, one does not have to install webpack-cli.

Node

const add = require("@webpack-cli/add").default;
add();

CLI (via webpack-cli)

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

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 6/7/2019

Downloads

Maintainers