{"action":"created","issue":{"url":"https://api.github.com/repos/sass/libsass/issues/1695","labels_url":"https://api.github.com/repos/sass/libsass/issues/1695/labels{/name}","comments_url":"https://api.github.com/repos/sass/libsass/issues/1695/comments","events_url":"https://api.github.com/repos/sass/libsass/issues/1695/events","html_url":"https://github.com/sass/libsass/issues/1695","id":114923187,"number":1695,"title":"Custom importers need to specify which parser to use","user":{"login":"xzyfer","id":579928,"avatar_url":"https://avatars.githubusercontent.com/u/579928?v=3","gravatar_id":"","url":"https://api.github.com/users/xzyfer","html_url":"https://github.com/xzyfer","followers_url":"https://api.github.com/users/xzyfer/followers","following_url":"https://api.github.com/users/xzyfer/following{/other_user}","gists_url":"https://api.github.com/users/xzyfer/gists{/gist_id}","starred_url":"https://api.github.com/users/xzyfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzyfer/subscriptions","organizations_url":"https://api.github.com/users/xzyfer/orgs","repos_url":"https://api.github.com/users/xzyfer/repos","events_url":"https://api.github.com/users/xzyfer/events{/privacy}","received_events_url":"https://api.github.com/users/xzyfer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sass/libsass/labels/C%20API","name":"C API","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-03T22:17:20Z","updated_at":"2015-11-03T23:06:13Z","closed_at":null,"body":"It's perfectly valid to import .scss files from .sass files and vice versa. Since we're importing from the filesystem we're able to use the file's extension to delineate which parser to use. This isnt always the case with custom importers so need to allow the importer to tell us.\r\n\r\nThis is the importer's responsibility. We cannot and should not try to magically determine this.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27943826-custom-importers-need-to-specify-which-parser-to-use?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/sass/libsass/issues/comments/153517197","html_url":"https://github.com/sass/libsass/issues/1695#issuecomment-153517197","issue_url":"https://api.github.com/repos/sass/libsass/issues/1695","id":153517197,"user":{"login":"mgreter","id":282293,"avatar_url":"https://avatars.githubusercontent.com/u/282293?v=3","gravatar_id":"","url":"https://api.github.com/users/mgreter","html_url":"https://github.com/mgreter","followers_url":"https://api.github.com/users/mgreter/followers","following_url":"https://api.github.com/users/mgreter/following{/other_user}","gists_url":"https://api.github.com/users/mgreter/gists{/gist_id}","starred_url":"https://api.github.com/users/mgreter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgreter/subscriptions","organizations_url":"https://api.github.com/users/mgreter/orgs","repos_url":"https://api.github.com/users/mgreter/repos","events_url":"https://api.github.com/users/mgreter/events{/privacy}","received_events_url":"https://api.github.com/users/mgreter/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T23:06:13Z","updated_at":"2015-11-03T23:06:13Z","body":"I do agree on the overall case that an option would be nice. But you could add this option already to node-sass API and just convert the data from sass to scss in the custom importer bridge, if you know you have indented sass syntax. Just saying that it's already possible for implementors to do it."}}