We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I have css files than I would like to clean like so:
css/ style.css contact/ contact.css
Can I use clean-css-cli like:
clean-css-cli
cleancss --level 1 --output css/**/*.min.css css/**/*.css
I do not want to list all my css in the command line or neither to edit the command line every time I add a new css file.
What I am aiming for is this result:
css/ style.css style.min.css contact/ contact.css contact.min.css
I could also accept having the source css file overwritten...
Thank you for your help.
The text was updated successfully, but these errors were encountered:
I was able to do it thanks to a comment inside the issue #18 :
#18 (comment)
This npm script will replace the files...
"css-minify-all": "foreach -g \"css/**/*.css\" -x \"cleancss --level 1 #{path} -o #{path}\" --no-c"
Sorry, something went wrong.
Please note it can be now done via --batch option in clean-css-cli v5: see https://github.com/jakubpawlowicz/clean-css-cli#how-to-process-multiple-files-without-concatenating-them-into-one-output-file
--batch
No branches or pull requests
If I have css files than I would like to clean like so:
Can I use
clean-css-cli
like:I do not want to list all my css in the command line or neither to edit the command line every time I add a new css file.
What I am aiming for is this result:
I could also accept having the source css file overwritten...
Thank you for your help.
The text was updated successfully, but these errors were encountered: