Imported CSS not compressed
DJviolin opened this issue · 3 comments
DJviolin commented
I have this .styl file:
@import '../libs/normalize.css';
body {
background-colour: #000;
}
It will only compress the body part, the normalize.css stay untouched, but if a rename to normalize.styl, it will compressing without problem.
sapegin commented
I’m sure it’s Stylus itself issue, not grunt-contrib-stylus’.
P. S. And I believe it’s better to use specialized CSS minifiers such as csso or clean-css.
sindresorhus commented
Yup
DJviolin commented
Thank you the info, I decided to use cssmin instead.