Skip to content
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

Allow * when specifying multiple input files #2

Closed
Cezille07 opened this issue Jan 27, 2017 · 3 comments
Closed

Allow * when specifying multiple input files #2

Cezille07 opened this issue Jan 27, 2017 · 3 comments
Milestone

Comments

@Cezille07
Copy link

When listing input files as

cleancss public/css/* public/app.css

it gives the error:

WARNING: Invalid character(s) '/*;@import public/app.css;' at 1:18. Ignoring.

Different variations of forward and backward slash, as well as removing the * (hoping it would peek into the folder), resulted in failure as well.

It would be handy if I didn't have to list each file separately, by allowing a wildcard *. I would like to merge the css files from imported libraries with my own css to reduce the number of http calls the browser has to make. Unfortunately, the calls to this tool become quite lengthy due to the number of libraries.

Version: 4.0.0
OS: Windows

@jakubpawlowicz
Copy link
Collaborator

Yup, we could have it in CLI. 👍

@jakubpawlowicz
Copy link
Collaborator

@Cezille07 you can do it now in clean-css 4.1, thanks for the idea!

@Cezille07
Copy link
Author

Awesome, thanks! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants