Open corysimmons opened 10 years ago
According to http://learnboost.github.io/stylus/docs/import.html
Literal CSS Any filename with the extension .css will become a literal.
@import "fonts.css"
without --include-css
compiles literally to:
@import "fonts.css";
Nothing wrong with docs here.
So what is --include-css
doing exactly? Every single time I go to use non-Stylus .css in my projects I'm always banging my head against the wall trying to figure out why it isn't working. Maybe --include-css
should be the default behavior since everything works as I'd expect when I watch with it enabled?
Why this is still Open?
--include-css
should be true by default. :)
Why is it that I have to run
--include-css
withstylus -w
explicitly?According to http://learnboost.github.io/stylus/docs/import.html it seems like you should be able to do something like...
..from within style.styl, and be watching style.styl (which is in the same dir as fonts.css), and fonts.css to be imported... without having to explicitly say
--include-css
.Such weird behavior...