如何重写CSS文件(Gulp.js)中的字体和图像的相对path?
在使用Gulp.js构build项目前端时,bower_components的CSS文件使用相对path引用其图像和字体 – 如何重写为绝对path?
例如,用一些内容input文件:
.info{ background: url(themes/assets/hello.png) }
输出文件:
.info{ background: url(/static/img/hello.png) }
另外,引用某个CDN的URL也没有改变。
这个怎么做?