grunt-usemin icon indicating copy to clipboard operation
grunt-usemin copied to clipboard

Specify final url for images inside css on grunt-usemin

Open fchambo opened this issue 9 years ago • 3 comments

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.

fchambo avatar Aug 26 '15 14:08 fchambo

I use grunt-repace to replace url before run grunt usemin

luxueyan avatar Sep 24 '15 03:09 luxueyan

@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.

stephanebachelier avatar Nov 20 '15 09:11 stephanebachelier

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.

adaromu avatar Apr 15 '16 07:04 adaromu