We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a18f0c2 commit 84f313aCopy full SHA for 84f313a
packages/core/src/node/config.ts
@@ -28,8 +28,8 @@ export function normalizeDevToolsConfig(
28
enabled: config === true || !!(config && config.enabled),
29
config: {
30
...(isObject(config) ? config : {}),
31
- clientAuth: isObject(config) ? config.clientAuth : true,
32
- host: isObject(config) ? (config?.host ?? host) : host,
+ clientAuth: isObject(config) ? (config.clientAuth ?? true) : true,
+ host: isObject(config) ? (config.host ?? host) : host,
33
},
34
}
35
test/exports/@vitejs/devtools.yaml
@@ -2,6 +2,7 @@
2
createDevToolsContext: function
3
createDevToolsMiddleware: function
4
DevTools: function
5
+ normalizeDevToolsConfig: function
6
./cli-commands:
7
build: function
8
start: function
0 commit comments