Closed JonathanTech closed 9 years ago
Looking at your code, it seems you need to set the appropriate base
path for your source files. Try with this:
gulp.src(["content/bootstrap.less'], {base: 'content'})
When I have time I will consider making a demo project for you to play around with. As it stands, the code I changed is working flawlessly for me regardless of the base set. Thanks for getting it 95% of the way there for me with the package as it was.
No problem, but be sure to set the base
path of the sources as explained above, that may solve the issue without any patch.
Regarding your patch, it was breaking the unit tests, a symptom that it was fixing your particular problem but breaking other use cases.
Anyway, don't hesitate to contact me for any other issue/concern.
I think i saw that you changed the same test in your other branch though. I don't know if I can trust the test because of that. On Oct 1, 2014 8:42 AM, "Mario Casciaro" notifications@github.com wrote:
No problem, but be sure to set the base path of the sources as explained above, that may solve the issue without any patch. Regarding your patch, it was breaking the unit tests, a symptom that it was fixing your particular problem but breaking other use cases. Anyway, don't hesitate to contact me for any other issue/concern.
— Reply to this email directly or view it on GitHub https://github.com/mariocasciaro/gulp-concat-css/issues/9#issuecomment-57464461 .
Yes, you are right, the test in the new branch is the good one, you can try to apply the change and see how your patch runs against that.
Hey @JonathanTech let me know if the problem was fixed and if I can close this ticket.
Tree Structure
Bootstrap contains a reference to glyphicons-halflings-regular.eot as:
my gulp file looks like this:
the resulting url is:
I was able to fix this issue by changing some code, but I'm new to node and it's tools, so I'm not certain how to create a test case for this or if I am breaking any other test cases.
On line 35 of index.js you have
I changed it too
and now my urls are being correctly mapped to: