Skip to content

Commit 7c70871

Browse files
authored
docs(configuration): update example configurations (#5642)
1 parent 4f11d4b commit 7c70871

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/configuration/dev-server.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This set of options is picked up by [webpack-dev-server](https://github.com/webp
3838
**webpack.config.js**
3939

4040
```javascript
41-
var path = require('path');
41+
const path = require('path');
4242

4343
module.exports = {
4444
//...
@@ -604,6 +604,8 @@ Provide your own certificate using the [https](#devserverhttps) option:
604604
**webpack.config.js**
605605

606606
```javascript
607+
const fs = require('fs');
608+
607609
module.exports = {
608610
//...
609611
devServer: {

0 commit comments

Comments
 (0)