gruntjs / grunt-contrib-cssmin

Compress CSS files.
http://gruntjs.com/
MIT License
793 stars 147 forks source link

failed when compress css with @charset "utf-8" #294

Closed HawthornWorld closed 7 years ago

HawthornWorld commented 7 years ago

when I was compressing css file which started with @charset "utf-8",failed and throw error "invalid selector @charset "utf-8",system is window7 pro

varataharaj commented 7 years ago

getting this error "Ignoring Invalid selector '@charset 'utf-8';" If I have the charset value in my css file.IN the final minified file the @charset value and my first selector goes missing

XhmikosR commented 7 years ago

Issues with the output should be reported on the clean-css issue tracker.