grunt-usemin
grunt-usemin copied to clipboard
Specify final url for images inside css on grunt-usemin
I wrote this stackoverflow question with an example on what I need to achieve.
I can't find a way to specify an absolute url to relative paths on css files as I can do on html files.
I use grunt-repace to replace url before run grunt usemin
@neuquino for now usemin does not support url rewriting using an absolute path. There are some tools like grunt-replace that can help you.
BTW I'm currently investigating to find a solution for usemin to support absolute url / remote url.
Based on document, Patterns
should be able to do that, since it can take the match group to do filter-in/out, but I can't find any detail api and example for it.