Skip to content

Commit f8424be

Browse files
committedMar 9, 2019
docs(scaffold): add link option for local
1 parent 87ba169 commit f8424be

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
 

‎SCAFFOLDING.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,18 @@ webpack-cli init <your-scaffold>
2828
#### Running a scaffold locally
2929
When the scaffold package is on you local file system you should pass its path to `init`:
3030

31-
```js
31+
```bash
3232
webpack-cli init path/to/your/scaffold
3333
```
3434

35+
Or you can create a global module and symlink to the local one:
36+
37+
```bash
38+
cd path/to/my-scaffold
39+
npm link
40+
webpack-cli init my-scaffold
41+
```
42+
3543
#### Running a scaffold from npm
3644

3745
If the package is on npm, its name must begin with `webpack-scaffold` and can be used running:

0 commit comments

Comments
 (0)
Please sign in to comment.