instantcode
Version:
AI-powered web inspection tool - Pick elements and get instant AI assistance
26 lines (25 loc) • 642 B
TypeScript
import type { Plugin } from 'vite';
export interface InspectorPluginOptions {
/**
* Port to run the server on
* @default 7318
*/
port?: number;
/**
* Address for the server to listen on
* @default 'localhost'
*/
listenAddress?: string;
/**
* Public URL for reverse proxy scenarios
* @default Automatically determined from listenAddress and port
*/
publicAddress?: string;
/**
* Verbose logging
* @default false
*/
verbose?: boolean;
}
export declare function inspectorPlugin(options?: InspectorPluginOptions): Plugin;
export default inspectorPlugin;