gruntjs/grunt-contrib-stylus

CSS media queries for compress:true gives wrong results

poorva29 opened this issue · 3 comments

When CSS media queries are used in any '.styl' file and the default mode is compress:true then generated compressed file is wrong.
The @media option is not parsed correctly.

Please refer images in specified number order -
1 grunt-stylus-compress-true-used-in-gruntfile
2 compressed-wrong-css-file
3 grunt-stylus-compress-false-used-in-gruntfile
4 uncompressed-correct-css-file

What's the source .styl file?

This issue is not related to the grunt plugin , see Stylus issue here: https://github.com/LearnBoost/stylus/issues/1396

i though it was a stylus related issue.
we specify styling in .styl files like .css you can say !