Skip to content

Commit

Permalink
docs(pkg): readme file for add package (#498)
Browse files Browse the repository at this point in the history
* docs(pkg): readme file for add package

* docs(add): fix missing content
  • Loading branch information
ematipico authored and evenstensberg committed Jul 14, 2018
1 parent df414e6 commit 95796c3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/add/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# webpack-cli add

## Description

This package contains the logic to add new properties to the 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

```bash
npm i -D 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
```js
const add = require("@webpack-cli/add");
add();
```

### CLI (via `webpack-cli`)
```bash
npx webpack-cli add
```

0 comments on commit 95796c3

Please sign in to comment.