You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/configuration/dev-server.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ contributors:
11
11
- EugeneHlushko
12
12
- Yiidiir
13
13
- Loonride
14
+
- dmohns
14
15
---
15
16
16
17
[webpack-dev-server](https://github.com/webpack/webpack-dev-server) can be used to quickly develop an application. See the [development guide](/guides/development/) to get started.
@@ -658,6 +659,26 @@ T> [`watchOptions`](#devserver-watchoptions-) will have no effect when used with
658
659
T> If you use the CLI, make sure __inline mode__ is disabled.
659
660
660
661
662
+
## `devServer.mimeTypes` 🔑
663
+
664
+
`object`
665
+
666
+
Allows dev-server to register custom mime types.
667
+
The object is passed to the underlying `webpack-dev-middleware`.
668
+
See [documentation](https://github.com/webpack/webpack-dev-middleware#mimetypes) for usage notes.
0 commit comments