Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Specify final url for images inside css on grunt-usemin #598

Open
fchambo opened this issue Aug 26, 2015 · 3 comments
Open

Specify final url for images inside css on grunt-usemin #598

fchambo opened this issue Aug 26, 2015 · 3 comments

Comments

@fchambo
Copy link

fchambo commented Aug 26, 2015

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.

@luxueyan
Copy link

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

@stephanebachelier
Copy link
Collaborator

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

@adaromu
Copy link

adaromu commented Apr 15, 2016

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.

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

No branches or pull requests

4 participants