gruntjs / grunt-contrib-cssmin

Compress CSS files.
http://gruntjs.com/
MIT License
793 stars 147 forks source link

relative url in css/js file #274

Open martingg88 opened 8 years ago

martingg88 commented 8 years ago

Some css/js file will have relative path embedded in the source. how to solve the following issue to point to absolute path instead of relative?

src: url('../fonts/glyphicons-halflings-regular.eot');

sKopheK commented 7 years ago

use grunt-string-replace for this