You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
471 B

2 months ago
import type { WatchOptions } from 'chokidar';
import type { Plugin } from 'vite';
import { type FileWatcherOptions } from '../../watcher';
export type UniViteCopyPluginTarget = Omit<FileWatcherOptions, 'verbose'> & {
watchOptions?: WatchOptions & {
readyTimeout?: number;
};
};
export interface UniViteCopyPluginOptions {
targets: UniViteCopyPluginTarget[];
}
export declare function uniViteCopyPlugin({ targets, }: UniViteCopyPluginOptions): Plugin;