copy.d.ts 456 B

1234567891011
  1. import type { WatchOptions } from 'chokidar';
  2. import type { Plugin } from 'vite';
  3. import { FileWatcherOptions } from '../../watcher';
  4. export type UniViteCopyPluginTarget = Omit<FileWatcherOptions, 'verbose'> & {
  5. watchOptions?: WatchOptions;
  6. };
  7. export interface UniViteCopyPluginOptions {
  8. targets: UniViteCopyPluginTarget[];
  9. verbose: boolean;
  10. }
  11. export declare function uniViteCopyPlugin({ targets, verbose, }: UniViteCopyPluginOptions): Plugin;