Gulp.js - Rewrite urls embedded in css while concatenating

前端 未结 2 2063
青春惊慌失措
青春惊慌失措 2021-02-19 11:46

I\'m using Gulp to concatenate several css files from different directories (Bower managed dependencies). Font-awesome is one of these dependencies and it contains a relative re

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-19 12:11

    Another option is gulp-css-rebase-urls which was built to address this problem.

    https://www.npmjs.com/package/gulp-css-rebase-urls

提交回复
热议问题