Skip to content

Commit 910ea16

Browse files
committed
docs: fix links
1 parent 3d3676e commit 910ea16

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/content/configuration/dev-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ npx webpack serve --no-static-serve-index
12741274

12751275
`boolean` `object`
12761276

1277-
Tell dev-server to watch the files served by the [`static.directory`]($directory) option. It is disabled by default. When enabled, file changes will trigger a full page reload.
1277+
Tell dev-server to watch the files served by the [`static.directory`](#directory) option. It is disabled by default. When enabled, file changes will trigger a full page reload.
12781278

12791279
**webpack.config.js**
12801280

src/content/configuration/stats.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ contributors:
2323

2424
The `stats` option lets you precisely control what bundle information gets displayed. This can be a nice middle ground if you don't want to use `quiet` or `noInfo` because you want some bundle information, but not all of it.
2525

26-
T> For webpack-dev-server, this property needs to be in the [`devServer` configuration object](/configuration/dev-server/#devserverstats-).
27-
2826
W> This option does not have any effect when using the Node.js API. You need to pass the stats options to the `stats.toString()` resp. `stats.toJson()` calls instead.
2927

3028
```js

src/content/guides/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ This tells `webpack-dev-server` to serve the files from the `dist` directory on
231231

232232
T> `webpack-dev-server` serves bundled files from the directory defined in [`output.path`](/configuration/output/#outputpath), i.e., files will be available under `http://[devServer.host]:[devServer.port]/[output.publicPath]/[output.filename]`.
233233

234-
W> webpack-dev-server doesn't write any output files after compiling. Instead, it keeps bundle files in memory and serves them as if they were real files mounted at the server's root path. If your page expects to find the bundle files on a different path, you can change this with the [`publicPath`](/configuration/dev-server/#devserverpublicpath-) option in the dev server's configuration.
234+
W> webpack-dev-server doesn't write any output files after compiling. Instead, it keeps bundle files in memory and serves them as if they were real files mounted at the server's root path. If your page expects to find the bundle files on a different path, you can change this with the [`devMiddleware.publicPath`](/configuration/dev-server/#devserverdevmiddleware) option in the dev server's configuration.
235235

236236
Let's add a script to easily run the dev server as well:
237237

0 commit comments

Comments
 (0)