domco
Version:
Minimal Full-Stack JavaScript
13 lines • 461 B
TypeScript
import type { Plugin } from "vite";
/**
* This plugin accounts for the change from Vite 5 to 6. `ssrLoadModule` no longer
* automatically reloads the page on the client. In order to get this to work again
* this plugin must be implemented.
*
* This could possibly change in the future:
* @see https://github.com/vitejs/vite/issues/19114
*
* @returns Vite plugin
*/
export declare const ssrReloadPlugin: () => Plugin;
//# sourceMappingURL=index.d.ts.map