gulp-concat-css icon indicating copy to clipboard operation
gulp-concat-css copied to clipboard

rebase url changes when feeding an array of src, based on the path of first src

Open kzko opened this issue 10 years ago • 3 comments

when feeding an array of source return gulp.src([ './www/folder1/mycss.css', './lib/bower_components/ionicons/css/ionicons.min.css' ] ).pipe(concatCss("style.min.css"))

the rebase logic is based only on the first array element.

so for example, if we change the first src to '../mycss.css'

within ionicons.min.css, the path changes from: url("../../lib/bower_components/ionicons/fonts/ionicons.eot?v=1.5.2"); to: url("../fonts/ionicons.eot?v=1.5.2");

kzko avatar Dec 04 '15 04:12 kzko

I've noticed this too. Could/Should this be configurable via the options?

margusbirk avatar Dec 16 '15 07:12 margusbirk

+1 same problems

ychongsaytc avatar Jun 21 '16 12:06 ychongsaytc

this was the exact problem that I was hoping for concat-css to solve.

mencargo avatar Jul 06 '16 01:07 mencargo