Skip to content

Commit

Permalink
docs(configuration) Update minimal config example (#2482)
Browse files Browse the repository at this point in the history
I'm not the first person to forget this import webpack/webpack-dev-server#823
  • Loading branch information
mlsteele authored and montogeek committed Sep 2, 2018
1 parent c54bcf9 commit 726cf82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/content/configuration/dev-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ T> Options that are compatible with [webpack-dev-middleware](https://github.com/
This set of options is picked up by [webpack-dev-server](https://github.com/webpack/webpack-dev-server) and can be used to change its behavior in various ways. Here's a simple example that gzips and serves everything from our `dist/` directory:

```js
var path = require('path');

module.exports = {
//...
devServer: {
Expand Down

0 comments on commit 726cf82

Please sign in to comment.