TenantAtlas/apps/platform/.pnpm-store/v10/files/24/b0b22756535f73ed0025341e15b4a67b5ab34184319823287260c3c88ab9a43cf469739059e70e87cb36fa80cc544933db47772280a87d4a79486fdab55a54
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

35 lines
913 B
Plaintext

import { PluginOption } from 'vite';
/**
* Configuration for the watched paths.
*/
interface Config {
/**
* Whether full reload should happen regardless of the file path.
* @default true
*/
always?: boolean;
/**
* How many milliseconds to wait before reloading the page after a file change.
* @default 0
*/
delay?: number;
/**
* Whether to log when a file change triggers a full reload.
* @default true
*/
log?: boolean;
/**
* Files will be resolved against this path.
* @default process.cwd()
*/
root?: string;
}
declare function normalizePaths(root: string, path: string | string[]): string[];
/**
* Allows to automatically reload the page when a watched file changes.
*/
declare const _default: (paths: string | string[], config?: Config) => PluginOption;
export { Config, _default as default, normalizePaths };