Conclusion: stick with stylus 0.42.2 for now.
To reproduce the problem:
- create a temporary repo
- install or upgrade to stylus 0.42.2
- do "./m css" to reveal outstanding foobar, modernized issues (https://codereview.appspot.com/82410043/)
- commit to isolate unrelated issue from this issue
- upgrade to stylus 0.42.3
- do "./m css" again
- do a diff to see changes, expect it to be same as the attached file named stylus0.42.3
For some unknown reason, both foobar and modernized css output seem to be partially compressed. In some cases, the compression starts while processing an import statement in main.styl, then stops when the next import starts.
Stylus 0.42.3 is about a month old. No similar problems reported at https://github.com/learnboost/stylus/issues.
Opened an issue: https://github.com/LearnBoost/stylus/issues/1456
Marking this as minor priority as there is an easy workaround by using 0.42.2.