diff --git a/SCAFFOLDING.md b/SCAFFOLDING.md index 1c1a9b20fde..80e5b5c79a4 100644 --- a/SCAFFOLDING.md +++ b/SCAFFOLDING.md @@ -28,10 +28,18 @@ webpack-cli init #### Running a scaffold locally When the scaffold package is on you local file system you should pass its path to `init`: -```js +```bash webpack-cli init path/to/your/scaffold ``` +Or you can create a global module and symlink to the local one: + +```bash +cd path/to/my-scaffold +npm link +webpack-cli init my-scaffold +``` + #### Running a scaffold from npm If the package is on npm, its name must begin with `webpack-scaffold` and can be used running: