11 lines
430 B
TypeScript
11 lines
430 B
TypeScript
import type { WatchOptions } from 'chokidar';
|
|
import type { Plugin } from 'vite';
|
|
import { type FileWatcherOptions } from '../../watcher';
|
|
export type UniViteCopyPluginTarget = Omit<FileWatcherOptions, 'verbose'> & {
|
|
watchOptions?: WatchOptions;
|
|
};
|
|
export interface UniViteCopyPluginOptions {
|
|
targets: UniViteCopyPluginTarget[];
|
|
}
|
|
export declare function uniViteCopyPlugin({ targets, }: UniViteCopyPluginOptions): Plugin;
|