isaacs/rimraf

Fuzzy matching can't be used

liuseen-l opened this issue · 1 comments

on window:
`
"scripts": {

"clean": "rimraf packages/*/dist"

}
`

image

I believe it's glob not regex that you're trying to use. Judging from the updated readme, it looks like the new usage needs the --glob flag. Also, the path needs to be quoted.

Something like this might work:

"scripts": {
   "clean": "rimraf --glob 'packages/*/dist'"
},