Skip to content

Commit

Permalink
Merge pull request #7174 from JLHwung/revise-examples-build-readme
Browse files Browse the repository at this point in the history
docs(examples): add yarn add webpack-cli step
  • Loading branch information
sokra committed May 25, 2018
2 parents 4cd0cf5 + 64db306 commit 5feb7e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/README.md
Expand Up @@ -120,8 +120,9 @@
If you think an example is missing, please report it as issue. :)

# Building an Example
1. Run `npm install` in the root of the project.
2. Run `npm link webpack` in the root of the project.
3. Run `node build.js` in the specific example directory. (Ex: `cd examples/commonjs && node build.js`)
1. Run `yarn` in the root of the project.
2. Run `yarn link webpack` in the root of the project.
3. Run `yarn add --dev webpack-cli` in the root of the project.
4. Run `node build.js` in the specific example directory. (Ex: `cd examples/commonjs && node build.js`)

Note: To build all examples run `npm run build:examples`

0 comments on commit 5feb7e6

Please sign in to comment.