{"action":"created","issue":{"url":"https://api.github.com/repos/jtangelder/sass-loader/issues/50","labels_url":"https://api.github.com/repos/jtangelder/sass-loader/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/jtangelder/sass-loader/issues/50/comments","events_url":"https://api.github.com/repos/jtangelder/sass-loader/issues/50/events","html_url":"https://github.com/jtangelder/sass-loader/issues/50","id":57207692,"number":50,"title":"Marked dependencies do not respect previous loaders in the pipe","user":{"login":"tomhicks-bsf","id":8615233,"avatar_url":"https://avatars.githubusercontent.com/u/8615233?v=3","gravatar_id":"","url":"https://api.github.com/users/tomhicks-bsf","html_url":"https://github.com/tomhicks-bsf","followers_url":"https://api.github.com/users/tomhicks-bsf/followers","following_url":"https://api.github.com/users/tomhicks-bsf/following{/other_user}","gists_url":"https://api.github.com/users/tomhicks-bsf/gists{/gist_id}","starred_url":"https://api.github.com/users/tomhicks-bsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomhicks-bsf/subscriptions","organizations_url":"https://api.github.com/users/tomhicks-bsf/orgs","repos_url":"https://api.github.com/users/tomhicks-bsf/repos","events_url":"https://api.github.com/users/tomhicks-bsf/events{/privacy}","received_events_url":"https://api.github.com/users/tomhicks-bsf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-10T17:33:06Z","updated_at":"2015-03-04T19:50:58Z","closed_at":null,"body":"Let's say main.scss has `@import 'some-settings.scss'` at the top. We have another loader that replaces 'some-settings.scss' with '/path/to/our/specific/settings-file.scss'. It compiles just fine, but the marked dependencies are incorrect. This is because sass-graph is used to mark dependencies *from the original source file, ignoring the actual piped content*, but node-sass is used to compile the sass from the piped content.\r\n\r\nSo the thing that marks the dependencies is marking them based off incorrect, \"out-of-date\" data. It should mark them based off the `content` parameter in the loader, not by reading in the file contents."},"comment":{"url":"https://api.github.com/repos/jtangelder/sass-loader/issues/comments/77232525","html_url":"https://github.com/jtangelder/sass-loader/issues/50#issuecomment-77232525","issue_url":"https://api.github.com/repos/jtangelder/sass-loader/issues/50","id":77232525,"user":{"login":"izaakschroeder","id":206921,"avatar_url":"https://avatars.githubusercontent.com/u/206921?v=3","gravatar_id":"","url":"https://api.github.com/users/izaakschroeder","html_url":"https://github.com/izaakschroeder","followers_url":"https://api.github.com/users/izaakschroeder/followers","following_url":"https://api.github.com/users/izaakschroeder/following{/other_user}","gists_url":"https://api.github.com/users/izaakschroeder/gists{/gist_id}","starred_url":"https://api.github.com/users/izaakschroeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izaakschroeder/subscriptions","organizations_url":"https://api.github.com/users/izaakschroeder/orgs","repos_url":"https://api.github.com/users/izaakschroeder/repos","events_url":"https://api.github.com/users/izaakschroeder/events{/privacy}","received_events_url":"https://api.github.com/users/izaakschroeder/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T19:50:58Z","updated_at":"2015-03-04T19:50:58Z","body":"@tomhicks-bsf https://github.com/jtangelder/sass-loader/pull/53 probably maybe resolves this."}}