{"action":"created","issue":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/302","labels_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/302/comments","events_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/302/events","html_url":"https://github.com/dlmanning/gulp-sass/issues/302","id":90630260,"number":302,"title":"Data option","user":{"login":"Bitaru","id":4517712,"avatar_url":"https://avatars.githubusercontent.com/u/4517712?v=3","gravatar_id":"","url":"https://api.github.com/users/Bitaru","html_url":"https://github.com/Bitaru","followers_url":"https://api.github.com/users/Bitaru/followers","following_url":"https://api.github.com/users/Bitaru/following{/other_user}","gists_url":"https://api.github.com/users/Bitaru/gists{/gist_id}","starred_url":"https://api.github.com/users/Bitaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bitaru/subscriptions","organizations_url":"https://api.github.com/users/Bitaru/orgs","repos_url":"https://api.github.com/users/Bitaru/repos","events_url":"https://api.github.com/users/Bitaru/events{/privacy}","received_events_url":"https://api.github.com/users/Bitaru/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dlmanning/gulp-sass/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T10:02:08Z","updated_at":"2015-06-24T11:22:03Z","closed_at":"2015-06-24T11:22:03Z","body":"Hi guys, it seems like a bug - https://github.com/dlmanning/gulp-sass/blob/master/index.js#L36\r\nWe may have chance to add extra data to libsass, e.q: \r\n```\r\n.pipe($.sass({\r\n      sourceComments: !BUILD,\r\n      indentedSyntax: true,\r\n      data: \"$ENV: \\\"\" + (BUILD ? \"PROD\" : \"DEV\") + \"\\\";\",\r\n      outputStyle: BUILD ? 'nested' : 'nested',\r\n```\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/comments/114835423","html_url":"https://github.com/dlmanning/gulp-sass/issues/302#issuecomment-114835423","issue_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/302","id":114835423,"user":{"login":"Snugug","id":377188,"avatar_url":"https://avatars.githubusercontent.com/u/377188?v=3","gravatar_id":"","url":"https://api.github.com/users/Snugug","html_url":"https://github.com/Snugug","followers_url":"https://api.github.com/users/Snugug/followers","following_url":"https://api.github.com/users/Snugug/following{/other_user}","gists_url":"https://api.github.com/users/Snugug/gists{/gist_id}","starred_url":"https://api.github.com/users/Snugug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snugug/subscriptions","organizations_url":"https://api.github.com/users/Snugug/orgs","repos_url":"https://api.github.com/users/Snugug/repos","events_url":"https://api.github.com/users/Snugug/events{/privacy}","received_events_url":"https://api.github.com/users/Snugug/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T11:22:03Z","updated_at":"2015-06-24T11:22:03Z","body":"This is not a bug in Gulp Sass. Node Sass's [`data` option](https://github.com/sass/node-sass#data) is a string to get compiled in to Sass. As we are working within the Gulp ecosystem, we shouldn't be passing file paths in to Node Sass, but rather passing the contents of the manipulated file stream, hence why we use Data.\r\n\r\nIf you'd like to alter the contents of the file being passed to Node Sass, that should be done through a gulp plugin before getting to the Sass plugin"}}