vite-plugin-ngrok
Version:
A Vite plugin for seamless integration with ngrok, allowing you to easily share your local development server with anyone, anywhere.
13 lines (10 loc) • 334 B
TypeScript
import * as vite from 'vite';
import { Config } from '@ngrok/ngrok';
/**
* Vite ngrok plugin allowing you to expose your local server to the internet.
*/
declare const ngrok: (options?: Config | string) => {
name: string;
configureServer(this: void, { config, httpServer }: vite.ViteDevServer): void;
};
export { ngrok };