Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kzko opened this issue Dec 4, 2015 · 3 comments

Comments

@kzko
Copy link

kzko commented Dec 4, 2015

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");

@margusbirk
Copy link

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

@ychongsaytc
Copy link

+1 same problems

@mencargo
Copy link

mencargo commented Jul 6, 2016

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

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

No branches or pull requests

5 participants