Skip to content

Not minifying when @import file has timestamp #35

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

Closed
protoEvangelion opened this issue Apr 10, 2019 · 1 comment
Closed

Not minifying when @import file has timestamp #35

protoEvangelion opened this issue Apr 10, 2019 · 1 comment
Labels

Comments

@protoEvangelion
Copy link

When there is a query param on a css file (in this case a timestamp), clean-css-cli will not minify the current file. As soon as I remove the query param, it minifies the file. My goal is to ignore the @import statement but still minify the file.

I tried passing every conceivable option to prevent the clean css from processing this line:

@import url(font_awesome.css?t=1554926691456);

But it throws the error:

Ignoring local @import of "font_awesome.css?t=1554926691456" as resource is missing
@protoEvangelion protoEvangelion changed the title Not minifying when @import file has time stamp Not minifying when @import file has timestamp Apr 10, 2019
@jakubpawlowicz
Copy link
Collaborator

Closing as 'won't fix' as clean-css-cli is going into maintenance mode. If anyone wants to bring it back up, please submit a PR.

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

No branches or pull requests

2 participants