UNPKG

vite-plugin-update-detection

Version:

A package to detect version changes in your application, including a Vite plugin and a React hook.

8 lines (7 loc) 272 B
import type { PluginOption } from "vite"; export type VitePluginVersionOptions = { version: string; pollInterval?: number; }; declare function vitePluginVersion({ version, pollInterval, }: VitePluginVersionOptions): PluginOption; export default vitePluginVersion;