stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.9k stars 250 forks source link

Importing .styl's with same name as nib .styl's causes name conflict. #165

Closed elldritch closed 11 years ago

elldritch commented 11 years ago

If I have a file called index.styl and I try to @import index.styl after I've called @import nib, then my stylesheet silently fails to import. This issue also extends to other names of files within nib/lib/nib, such as vendor.styl or overflow.styl.

skw commented 11 years ago

I guess the libs could be renamed with a prefix but that's not a very elegant solution, this seems like more of a stylus than Nib issue?

elldritch commented 11 years ago

Oh right, it's a Stylus thing. Sorry, I forgot about that. Is there a way to make Stylus throw an alert of some sort when this happens though?

artnez commented 11 years ago

This has been fixed in Stylus 0.36.0 LearnBoost/stylus@c1cd072e780f56905f334ef0c230ecc8c5ca3090

notslang commented 11 years ago

yay... closing this (although I probably should have closed it when we determined it isn't a nib issue)