{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-cssmin/issues/157","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-cssmin/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-cssmin/issues/157/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-cssmin/issues/157/events","html_url":"https://github.com/gruntjs/grunt-contrib-cssmin/issues/157","id":53528180,"number":157,"title":"Destination not written because minified CSS was empty","user":{"login":"andrew-waters","id":501976,"avatar_url":"https://avatars.githubusercontent.com/u/501976?v=3","gravatar_id":"","url":"https://api.github.com/users/andrew-waters","html_url":"https://github.com/andrew-waters","followers_url":"https://api.github.com/users/andrew-waters/followers","following_url":"https://api.github.com/users/andrew-waters/following{/other_user}","gists_url":"https://api.github.com/users/andrew-waters/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew-waters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew-waters/subscriptions","organizations_url":"https://api.github.com/users/andrew-waters/orgs","repos_url":"https://api.github.com/users/andrew-waters/repos","events_url":"https://api.github.com/users/andrew-waters/events{/privacy}","received_events_url":"https://api.github.com/users/andrew-waters/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-06T15:51:26Z","updated_at":"2015-02-19T17:18:26Z","closed_at":null,"body":"I was getting the error `Destination not written because minified CSS was empty`when minimising and changing line 18 in `grunt-contrib-cssmin/tasks/cssmin.js` to:\r\n\r\n```\r\nreturn new CleanCSS(options).minify(source);\r\n```\r\n\r\nie omitting `.styles` Fixes the issue.\r\n"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-cssmin/issues/comments/75094603","html_url":"https://github.com/gruntjs/grunt-contrib-cssmin/issues/157#issuecomment-75094603","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-cssmin/issues/157","id":75094603,"user":{"login":"flamadiddle","id":95717,"avatar_url":"https://avatars.githubusercontent.com/u/95717?v=3","gravatar_id":"","url":"https://api.github.com/users/flamadiddle","html_url":"https://github.com/flamadiddle","followers_url":"https://api.github.com/users/flamadiddle/followers","following_url":"https://api.github.com/users/flamadiddle/following{/other_user}","gists_url":"https://api.github.com/users/flamadiddle/gists{/gist_id}","starred_url":"https://api.github.com/users/flamadiddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flamadiddle/subscriptions","organizations_url":"https://api.github.com/users/flamadiddle/orgs","repos_url":"https://api.github.com/users/flamadiddle/repos","events_url":"https://api.github.com/users/flamadiddle/events{/privacy}","received_events_url":"https://api.github.com/users/flamadiddle/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T17:18:26Z","updated_at":"2015-02-19T17:18:26Z","body":"Thanks for the reply. This is a brand new installation on a server that never had NodeJS before my initial post. All that's installed is what is in my `package.json` above. How could I have an old version of `clean-css`, and how would cleaning my cache and reinstalling solve it?"}}