-
Notifications
You must be signed in to change notification settings - Fork 324
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
Option to remove imported files #536
Comments
@mikkotikkanen can you point me to relevant r.js functionality? I'd say it's rather a build system functionality rather than a minifier role to remove files. |
Yeah, not really sure who's responsibility it is. I guess when running directly from the CLI, it should be the |
I'm uneasy about this option at this point so let me think about it first. Re gulp it's not a problem as clean-css can (and maybe should?) expose a list of inlined files via API. |
Yeah, at least the gulp option should be there. :) And regardless, it should be bind separate options trigger ( |
Moved to clean-css/clean-css-cli#1 |
@mikkotikkanen it's been released as a part of clean-css-cli 4.1 |
If you are running master css file which is just split with imports, it would be nice to have r.js styled removing of the imported files
Ie. if
master.css
buttons.css
Would then become...
master.css
...with
buttons.css
removed.If file is not imported anywhere, it would be just minified as usual.
The text was updated successfully, but these errors were encountered: