vite-plugin-vue-devtools 7.0.26 → 7.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,47 @@
1
+ import { ResolvedConfig, ViteDevServer, PluginOption } from 'vite';
2
+ import { VitePluginInspectorOptions } from 'vite-plugin-vue-inspector';
3
+ import { ViteInspectAPI } from 'vite-plugin-inspect';
4
+
5
+ declare function getViteConfig(config: ResolvedConfig, pluginOptions: any): void;
6
+
7
+ declare function setupGraphModule(options: {
8
+ rpc: ViteInspectAPI['rpc'];
9
+ server: ViteDevServer;
10
+ }): void;
11
+
12
+ declare function setupAssetsModule(options: {
13
+ rpc: ViteInspectAPI['rpc'];
14
+ server: ViteDevServer;
15
+ config: ResolvedConfig;
16
+ }): void;
17
+
18
+ interface VitePluginVueDevToolsOptions {
19
+ /**
20
+ * append an import to the module id ending with `appendTo` instead of adding a script into body
21
+ * useful for projects that do not use html file as an entry
22
+ *
23
+ * WARNING: only set this if you know exactly what it does.
24
+ * @default ''
25
+ */
26
+ appendTo?: string | RegExp;
27
+ /**
28
+ * Customize openInEditor host (e.g. http://localhost:3000)
29
+ * @default false
30
+ */
31
+ openInEditorHost?: string | false;
32
+ /**
33
+ * DevTools client host (e.g. http://localhost:3000)
34
+ * useful for projects that use a reverse proxy
35
+ * @default false
36
+ */
37
+ clientHost?: string | false;
38
+ /**
39
+ * Enable Vue Component Inspector
40
+ *
41
+ * @default true
42
+ */
43
+ componentInspector?: boolean | VitePluginInspectorOptions;
44
+ }
45
+ declare function VitePluginVueDevTools(options?: VitePluginVueDevToolsOptions): PluginOption;
46
+
47
+ export { type VitePluginVueDevToolsOptions, VitePluginVueDevTools as default, getViteConfig, setupAssetsModule, setupGraphModule };