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

Commit 230d761

Browse files
authored
Merge pull request #6 from sparty02/patch-1
Note about quiet config in webpack-dev-server
2 parents fe2005c + 8bd0238 commit 230d761

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@ app.use(require('webpack-dev-middleware')(compiler, {
4545
}));
4646
```
4747

48+
If you use the webpack-dev-server, there is a setting in webpack's ```devServer``` options:
49+
50+
```javascript
51+
// webpack config root
52+
{
53+
// ...
54+
devServer: {
55+
// ...
56+
quiet: true,
57+
// ...
58+
},
59+
// ...
60+
}
61+
```
62+
4863
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:
4964

5065
```javascript

0 commit comments

Comments
 (0)