Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Commit

Permalink
docs(readme): Use false to turn off erros in webpack-hot-middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-suhas committed Jul 15, 2017
1 parent 3a414ae commit a56f05e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ If you use the webpack-dev-server, there is a setting in webpack's ```devServer`
}
```

If you use webpack-hot-middleware, that is done by setting the log option to a no-op. You can do something sort of like this, depending upon your setup:
If you use webpack-hot-middleware, that is done by setting the log option to `false`. You can do something sort of like this, depending upon your setup:

```javascript
app.use(require('webpack-hot-middleware')(compiler, {
log: () => {}
log: false
}));
```

Expand Down

0 comments on commit a56f05e

Please sign in to comment.