KC's Workspace
    Preparing search index...
    interface CopyEntry {
        flatten?: boolean;
        from: string | string[];
        rename?:
            | string
            | ((name: string, extension: string, fullPath: string) => string);
        to?: string;
        verbose?: boolean;
    }
    Index

    Properties

    flatten?: boolean

    Whether to flatten the copied files (not preserving directory structure).

    true
    
    from: string | string[]

    Source path or glob pattern.

    rename?:
        | string
        | ((name: string, extension: string, fullPath: string) => string)

    Change destination file or folder name.

    to?: string

    Destination path. If not specified, defaults to the output directory ("outDir").

    verbose?: boolean

    Output copied items to console.

    false