-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preserve paths with imagemin-cli #348
Comments
BUMP This is ongoing since 2016.. |
@sindresorhus any chance to get this in? Especially with about a million weekly downloads, it seems weird to leave this bug in (because anything that can destructively overwrite files is def. not a feature). |
I am also unable to use the tool for this exact reason. Could this be bumped up please? |
Is this solved by #353 ? IF so, can it be merged and a new version released please? |
Hello, |
#353 has some pending issue. |
Using
imagemin images/**/*.png --out-dir=dist/images
does not preserve the fairly crucial dir structure, dropping every image in the output dir, irrespective of what the glob**
matched. This means that things go very wrong when using, for instance:Can imagemin-cli (and imagemin?) be update to preserve the subpath for images so that they get written to the output dir with the same dir structure as they were consumed?
The text was updated successfully, but these errors were encountered: