File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export default {
41
41
42
42
There are some useful options:
43
43
44
- ** targets**
44
+ #### targets
45
45
46
46
A string or an array of patterns of files and folders to be deleted. Default is ` [] ` .
47
47
55
55
})
56
56
```
57
57
58
- ** verbose**
58
+ #### verbose
59
59
60
60
Outputs removed files and folders to console. Default is ` false ` .
61
61
68
68
69
69
> Note: use \* (wildcard character) to show removed files
70
70
71
- ** hook**
71
+ #### hook
72
72
73
73
[ Rollup hook] ( https://rollupjs.org/guide/en/#hooks ) the plugin should use. Default is ` buildStart ` .
74
74
79
79
})
80
80
```
81
81
82
- ** runOnce**
82
+ #### runOnce
83
83
84
84
Type: ` boolean ` | Default: ` false `
85
85
94
94
95
95
### Del package options
96
96
97
- ** dryRun**
97
+ #### dryRun
98
98
99
99
Shows what would be deleted without actual delete. Default is ` false ` .
100
100
@@ -105,7 +105,7 @@ del({
105
105
})
106
106
```
107
107
108
- ** force**
108
+ #### force
109
109
110
110
Allows deleting current working directory and outside. Default is ` false ` .
111
111
@@ -116,7 +116,7 @@ del({
116
116
})
117
117
```
118
118
119
- ** concurrency**
119
+ #### concurrency
120
120
121
121
Concurrency limit. Default is ` Infinity ` .
122
122
You can’t perform that action at this time.
0 commit comments