@@ -3,64 +3,64 @@ import fs from 'fs-extra';
33import globby from 'globby' ;
44
55interface Target extends globby . GlobbyOptions {
6- /**
7- * Path or glob of what to copy.
8- */
9- readonly src : string | readonly string [ ] ;
6+ /**
7+ * Path or glob of what to copy.
8+ */
9+ readonly src : string | readonly string [ ] ;
1010
11- /**
12- * One or more destinations where to copy.
13- * Should set "dest" or "file" param.
14- */
15- readonly dest ?: string | readonly string [ ] ;
11+ /**
12+ * One or more destinations where to copy.
13+ * Should set "dest" or "file" param.
14+ */
15+ readonly dest ?: string | readonly string [ ] ;
1616
17- /**
18- * Destination file.
19- * If this param is set, the "dest", "rename" and "flatten" params will be ignored.
20- */
21- readonly file ?: string ;
17+ /**
18+ * Destination file.
19+ * If this param is set, the "dest", "rename" and "flatten" params will be ignored.
20+ */
21+ readonly file ?: string ;
2222
23- /**
24- * Change destination file or folder name.
25- */
26- readonly rename ?: string | Function ;
23+ /**
24+ * Change destination file or folder name.
25+ */
26+ readonly rename ?: string | Function ;
2727
28- /**
29- * Modify file contents.
30- */
31- readonly transform ?: Function ;
28+ /**
29+ * Modify file contents.
30+ */
31+ readonly transform ?: Function ;
3232}
3333
3434interface CopyOptions extends globby . GlobbyOptions , fs . CopyOptions {
35- /**
36- * Copy items once. Useful in watch mode.
37- * @default false
38- */
39- readonly copyOnce ?: boolean ;
35+ /**
36+ * Copy items once. Useful in watch mode.
37+ * @default false
38+ */
39+ readonly copyOnce ?: boolean ;
4040
41- /**
42- * Remove the directory structure of copied files.
43- * @default true
44- */
45- readonly flatten ?: boolean ;
41+ /**
42+ * Remove the directory structure of copied files.
43+ * @default true
44+ */
45+ readonly flatten ?: boolean ;
4646
47- /**
48- * Rollup hook the plugin should use.
49- * @default 'buildEnd'
50- */
51- readonly hook ?: string ;
47+ /**
48+ * Rollup hook the plugin should use.
49+ * @default 'buildEnd'
50+ */
51+ readonly hook ?: string ;
5252
53- /**
54- * Array of targets to copy.
55- * @default []
56- */
57- readonly targets ?: readonly Target [ ] ;
53+ /**
54+ * Array of targets to copy.
55+ * @default []
56+ */
57+ readonly targets ?: readonly Target [ ] ;
5858
59- /**
60- * Output copied items to console.
61- * @default false
62- */
63- readonly verbose ?: boolean ;
59+ /**
60+ * Output copied items to console.
61+ * @default false
62+ */
63+ readonly verbose ?: boolean ;
6464}
6565
6666/**
0 commit comments