Files
muuhd/node_modules/vite-plugin-devtools-json/dist/index.d.ts
Kim Ravn Hansen 3f11ebe6dc rearrage_stuff
2025-09-16 11:26:40 +02:00

27 lines
918 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { Plugin } from 'vite';
interface DevToolsJsonOptions {
/**
* Optional fixed UUID. If omitted the plugin will generate
* (and cache) one automatically, which is the previous default behaviour.
*/
uuid?: string;
/**
* Absolute (or relative) path that should be reported as the project root
* in DevTools. When omitted, we fall back to Vites `config.root` logic.
*/
projectRoot?: string;
/**
* @deprecated Use `normalizeForWindowsContainer` instead. Will be removed in a future major version.
*/
normalizeForChrome?: boolean;
/**
* Whether to rewrite Linux paths to UNC form so Chrome running on Windows
* (WSL or Docker Desktop) can mount them as a workspace. Enabled by default.
*/
normalizeForWindowsContainer?: boolean;
}
declare const plugin: (options?: DevToolsJsonOptions) => Plugin;
export { plugin as default };