turbo-gulp
Version:
Gulp tasks to boost high-quality projects.
22 lines (21 loc) • 546 B
TypeScript
/// <reference types="gulp" />
import { Gulp } from "gulp";
import { TaskFunction } from "../utils/gulp-task-function";
export interface CleanOptions {
/**
* Base-directory for clean (usually `project.root`)
*/
base: string;
/**
* An array of relative paths to directories to delete
*/
dirs?: string[];
/**
* An array of minimatch patterns
*/
files?: string[];
}
/**
* Generate a task to clean files
*/
export declare function generateTask(gulp: Gulp, options: CleanOptions): TaskFunction;