Skip to content

Not minifying when @import file has timestamp #35

@protoEvangelion

Description

@protoEvangelion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions