Open david-pfx opened 1 year ago
This is caused by a breaking change in rimraf version 4. See: isaacs/rimraf#251. On Linux/MacOS, the glob path is a valid path so just doesn't delete any images.
Need to pin rimraf to version 3. We should commit package.json
and package-lock.json
to avoid these kinds of issues cropping up.
I agree 100%. Working on it (if I ever get the sodding thing to work😣)
Problem solved. I'll submit a PR.
Single purpose PR submitted.
Here is the node install and command line:
npm i rimraf compress-images web-resource-inliner ncp gifsicle@5.3.0 concat ycssmin terser gzipper html-minifier-terser glob
node compile.js
Here is the full error trace:
Debugging shows that the illegal character is the '*'. My guess is it should be globbed, but isn't. Beyond that I have no idea.