{"action":"created","issue":{"url":"https://api.github.com/repos/ben-eb/gulp-uncss/issues/39","labels_url":"https://api.github.com/repos/ben-eb/gulp-uncss/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/ben-eb/gulp-uncss/issues/39/comments","events_url":"https://api.github.com/repos/ben-eb/gulp-uncss/issues/39/events","html_url":"https://github.com/ben-eb/gulp-uncss/issues/39","id":108101009,"number":39,"title":"Using gulp-uncss with postcss","user":{"login":"codedbypaul","id":4680439,"avatar_url":"https://avatars.githubusercontent.com/u/4680439?v=3","gravatar_id":"","url":"https://api.github.com/users/codedbypaul","html_url":"https://github.com/codedbypaul","followers_url":"https://api.github.com/users/codedbypaul/followers","following_url":"https://api.github.com/users/codedbypaul/following{/other_user}","gists_url":"https://api.github.com/users/codedbypaul/gists{/gist_id}","starred_url":"https://api.github.com/users/codedbypaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codedbypaul/subscriptions","organizations_url":"https://api.github.com/users/codedbypaul/orgs","repos_url":"https://api.github.com/users/codedbypaul/repos","events_url":"https://api.github.com/users/codedbypaul/events{/privacy}","received_events_url":"https://api.github.com/users/codedbypaul/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-24T10:18:58Z","updated_at":"2015-09-24T12:16:02Z","closed_at":"2015-09-24T11:14:40Z","body":"I'm having an issue getting gulp-uncss playing nicely with postcss. I was originally using gulp-sass which worked fine.\r\n\r\nBut using postcss I get this error:\r\n```\r\n/Applications/MAMP/htdocs/wpn-chameleon/addition/node_modules/gulp-uncss/node_modules/uncss/node_modules/bluebird/js/main/async.js:43\r\n        fn = function () { throw arg; };\r\n                                 ^\r\nError: UnCSS: no stylesheets found\r\n    at process (/Applications/MAMP/htdocs/wpn-chameleon/addition/node_modules/gulp-uncss/node_modules/uncss/src/uncss.js:145:15)\r\n```\r\n\r\nMy gulp css task looks like this:\r\n```\r\nmodule.exports = function(gulp, plugins, config) {\r\n  return function() {\r\n    return gulp.src(config.development.css.src + '{style,style.ie}.css')\r\n      .pipe(plugins.postcss(processors))\r\n      .pipe(plugins.uncss({\r\n        html: ['./build/development/*.html'],\r\n        ignore: [/(ie7|ie8)/, /\\.active/g]\r\n      }))\r\n      .pipe(gulp.dest(config.development.css.dest))\r\n  }\r\n}\r\n```\r\n\r\nAnything obvious as to why it's not working?"},"comment":{"url":"https://api.github.com/repos/ben-eb/gulp-uncss/issues/comments/142912403","html_url":"https://github.com/ben-eb/gulp-uncss/issues/39#issuecomment-142912403","issue_url":"https://api.github.com/repos/ben-eb/gulp-uncss/issues/39","id":142912403,"user":{"login":"codedbypaul","id":4680439,"avatar_url":"https://avatars.githubusercontent.com/u/4680439?v=3","gravatar_id":"","url":"https://api.github.com/users/codedbypaul","html_url":"https://github.com/codedbypaul","followers_url":"https://api.github.com/users/codedbypaul/followers","following_url":"https://api.github.com/users/codedbypaul/following{/other_user}","gists_url":"https://api.github.com/users/codedbypaul/gists{/gist_id}","starred_url":"https://api.github.com/users/codedbypaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codedbypaul/subscriptions","organizations_url":"https://api.github.com/users/codedbypaul/orgs","repos_url":"https://api.github.com/users/codedbypaul/repos","events_url":"https://api.github.com/users/codedbypaul/events{/privacy}","received_events_url":"https://api.github.com/users/codedbypaul/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T12:16:02Z","updated_at":"2015-09-24T12:16:02Z","body":"Cool. :)"}}