diff --git a/src/content/configuration/dev-server.md b/src/content/configuration/dev-server.md index a7ff8d3017fd..ddd9bbed1668 100644 --- a/src/content/configuration/dev-server.md +++ b/src/content/configuration/dev-server.md @@ -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: {