Closed akselnordal closed 9 years ago
There were many errors in your setup.
I have fixed the errors here, and added an index.html to prove the completeness of the result. https://github.com/stevelacy/gulp-stylus-20
@stevelacy thank you for patience; after reviewing your fixes everything seems to be in order. I'm still a bit new to building using gulp (just switched from grunt)..
I am glad you are using gulp!
As referenced in the discussion https://github.com/stevelacy/gulp-stylus/issues/20 - it seems as if using gulp-stylus with stylus files using @import directives to stylus files that includes image-references using relative paths faile (eg.
background-image: url('relative-path.png')
).running the above snippet (given the correct input files and project structure - check out sample repo here https://github.com/akselnordal/stylus-example) results in the following error: