@@ -39,34 +39,34 @@ The `InlineConfig` interface extends `UserConfig` with additional properties:
39
39
` ` ` ts
40
40
interface ViteDevServer {
41
41
/**
42
- * The resolved vite config object
42
+ * The resolved vite config object.
43
43
*/
44
44
config: ResolvedConfig
45
45
/**
46
46
* A connect app instance
47
47
* - Can be used to attach custom middlewares to the dev server.
48
48
* - Can also be used as the handler function of a custom http server
49
- * or as a middleware in any connect-style Node.js frameworks
49
+ * or as a middleware in any connect-style Node.js frameworks.
50
50
*
51
51
* https://github.com/senchalabs/connect#use-middleware
52
52
*/
53
53
middlewares: Connect.Server
54
54
/**
55
- * native Node http server instance
56
- * will be null in middleware mode
55
+ * Native Node http server instance.
56
+ * Will be null in middleware mode.
57
57
*/
58
58
httpServer: http.Server | null
59
59
/**
60
- * chokidar watcher instance
60
+ * Chokidar watcher instance.
61
61
* https://github.com/paulmillr/chokidar#api
62
62
*/
63
63
watcher: FSWatcher
64
64
/**
65
- * web socket server with ` send (payload )` method
65
+ * Web socket server with ` send (payload )` method.
66
66
*/
67
67
ws: WebSocketServer
68
68
/**
69
- * Rollup plugin container that can run plugin hooks on a given file
69
+ * Rollup plugin container that can run plugin hooks on a given file.
70
70
*/
71
71
pluginContainer: PluginContainer
72
72
/**
@@ -104,7 +104,7 @@ interface ViteDevServer {
104
104
options?: { isolated?: boolean }
105
105
): Promise<Record<string, any>>
106
106
/**
107
- * Fix ssr error stacktrace
107
+ * Fix ssr error stacktrace.
108
108
*/
109
109
ssrFixStacktrace(e: Error): void
110
110
/**
0 commit comments