@planjs/webpack-deploy-plugin
Version:
The webpack plugin handles various uploads of front-end files
13 lines (12 loc) • 411 B
TypeScript
import type { ExecOptions } from "shelljs";
/**
* rsync文件
* 这里默认会保留文件目录结构
* @param source
* @param destination
* @param args rsync args
* @param options
*/
declare function rsync(source: string | string[], destination: string, args?: [string, string?][], options?: ExecOptions): Promise<void[]>;
export declare function checkRsync(): Promise<unknown>;
export default rsync;