{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/8","labels_url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/8/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/8/events","html_url":"https://github.com/sindresorhus/gulp-autoprefixer/issues/8","id":44264931,"number":8,"title":"How to use in combination with gulp-sass","user":{"login":"lmartins","id":151981,"avatar_url":"https://avatars.githubusercontent.com/u/151981?v=3","gravatar_id":"","url":"https://api.github.com/users/lmartins","html_url":"https://github.com/lmartins","followers_url":"https://api.github.com/users/lmartins/followers","following_url":"https://api.github.com/users/lmartins/following{/other_user}","gists_url":"https://api.github.com/users/lmartins/gists{/gist_id}","starred_url":"https://api.github.com/users/lmartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmartins/subscriptions","organizations_url":"https://api.github.com/users/lmartins/orgs","repos_url":"https://api.github.com/users/lmartins/repos","events_url":"https://api.github.com/users/lmartins/events{/privacy}","received_events_url":"https://api.github.com/users/lmartins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/labels/sourcemaps","name":"sourcemaps","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":42,"created_at":"2014-09-29T07:30:56Z","updated_at":"2015-05-01T09:12:53Z","closed_at":"2015-04-19T14:44:51Z","body":"Hi,\r\n\r\nIm trying to use gulp-autoprefixer in combination with gulp-sass and gulp-sourcemaps.\r\nMy gulpfile task looks like this:\r\n```\r\ngulp.task('sass', function () {\r\n  gulp.src( config.SASS.src )\r\n    .pipe( plugins.sourcemaps.init() )\r\n    .pipe( plugins.sass() )\r\n    .pipe( plugins.autoprefixer (\r\n      \"last 1 versions\", \"> 10%\", \"ie 9\"\r\n      ))\r\n    .pipe( plugins.sourcemaps.write('./') )\r\n    .pipe( gulp.dest( config.SASS.build ) )\r\n    .pipe( browserSync.reload({ stream: true }) );\r\n});\r\n```\r\nThe `plugins.` prefix is related to `gulp-load-plugins`\r\n\r\nWithout gulp-sass the task runs fine, but with it it throws the following error:\r\n```\r\n[08:26:51] Finished 'sass' after 3.32 ms\r\ngulp-sourcemap-write: source file not found:/Users/luismartins/Sites/00_LAB/wp-multisite/wp-content/themes/wip053/src/sass/main.css\r\n```\r\n\r\nShould I be running autoprefixer as a separate task after CSS compilation?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/comments/98083766","html_url":"https://github.com/sindresorhus/gulp-autoprefixer/issues/8#issuecomment-98083766","issue_url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/8","id":98083766,"user":{"login":"justnorris","id":988095,"avatar_url":"https://avatars.githubusercontent.com/u/988095?v=3","gravatar_id":"","url":"https://api.github.com/users/justnorris","html_url":"https://github.com/justnorris","followers_url":"https://api.github.com/users/justnorris/followers","following_url":"https://api.github.com/users/justnorris/following{/other_user}","gists_url":"https://api.github.com/users/justnorris/gists{/gist_id}","starred_url":"https://api.github.com/users/justnorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justnorris/subscriptions","organizations_url":"https://api.github.com/users/justnorris/orgs","repos_url":"https://api.github.com/users/justnorris/repos","events_url":"https://api.github.com/users/justnorris/events{/privacy}","received_events_url":"https://api.github.com/users/justnorris/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T09:12:53Z","updated_at":"2015-05-01T09:12:53Z","body":"Turns out the gulp.if solution doesn't work at all. It just skips autoprefixer task. Noticed that only now when tried to CSS animations in Chrome 42 ( which still requires -webkit- ). Now what ?"}}