{"action":"created","issue":{"url":"https://api.github.com/repos/shama/stylus-loader/issues/21","labels_url":"https://api.github.com/repos/shama/stylus-loader/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/shama/stylus-loader/issues/21/comments","events_url":"https://api.github.com/repos/shama/stylus-loader/issues/21/events","html_url":"https://github.com/shama/stylus-loader/issues/21","id":42368976,"number":21,"title":"Transient dependencies fail silently","user":{"login":"bestander","id":2121048,"avatar_url":"https://avatars.githubusercontent.com/u/2121048?v=3","gravatar_id":"","url":"https://api.github.com/users/bestander","html_url":"https://github.com/bestander","followers_url":"https://api.github.com/users/bestander/followers","following_url":"https://api.github.com/users/bestander/following{/other_user}","gists_url":"https://api.github.com/users/bestander/gists{/gist_id}","starred_url":"https://api.github.com/users/bestander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bestander/subscriptions","organizations_url":"https://api.github.com/users/bestander/orgs","repos_url":"https://api.github.com/users/bestander/repos","events_url":"https://api.github.com/users/bestander/events{/privacy}","received_events_url":"https://api.github.com/users/bestander/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-10T01:20:45Z","updated_at":"2015-04-12T22:59:06Z","closed_at":null,"body":"a.styl:\r\n\r\n```\r\n@import '../../node_modules/nib/lib/nib/index'; // to simplify the case I import nib manually, although using nib as plugin does the same\r\n\r\nhtml, body, ng-view > div {\r\n    height: 100%;\r\n}\r\n\r\nnav {\r\n    background: linear-gradient(top, beige, bisque);\r\n}\r\n```\r\n\r\nb.styl:\r\n\r\n```\r\n@import './a.styl'\r\nnav {\r\n    background-color: aqua;\r\n}\r\n```\r\n\r\nIf I compile it with command line stylus the output is OK:\r\n```\r\n./node_modules/stylus-loader/node_modules/stylus/bin/stylus b.styl\r\n```\r\n```\r\nhtml,\r\nbody,\r\nng-view > div {\r\n  height: 100%;\r\n}\r\nnav {\r\n  background: -webkit-linear-gradient(top, #f5f5dc, #ffe4c4);\r\n  background: -moz-linear-gradient(top, #f5f5dc, #ffe4c4);\r\n  background: -o-linear-gradient(top, #f5f5dc, #ffe4c4);\r\n  background: -ms-linear-gradient(top, #f5f5dc, #ffe4c4);\r\n  background: linear-gradient(to bottom, #f5f5dc, #ffe4c4);\r\n}\r\nnav {\r\n  background-color: #0ff;\r\n}\r\n```\r\nBut if I compile it with webpack:\r\n\r\n```\r\nmodule.exports = \"nav {\\n  background-color: #0ff;\\n}\\n\"\r\n```\r\n\r\nIt completely ignores `@import a.styl` statement because it has the `@import` in it.\r\nIf I remove the nib import then it compiles into this:\r\n\r\n```\r\nmodule.exports = \"html,\\nbody,\\nng-view > div {\\n  height: 100%;\\n}\\nnav {\\n  background: linear-gradient(top, #f5f5dc, #ffe4c4);\\n}\\nnav {\\n  background-color: #0ff;\\n}\\n\"\r\n```\r\nObviously `a.styl` got imported properly but I'd like to be able to use nib.\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/shama/stylus-loader/issues/comments/92147423","html_url":"https://github.com/shama/stylus-loader/issues/21#issuecomment-92147423","issue_url":"https://api.github.com/repos/shama/stylus-loader/issues/21","id":92147423,"user":{"login":"wdavidw","id":46896,"avatar_url":"https://avatars.githubusercontent.com/u/46896?v=3","gravatar_id":"","url":"https://api.github.com/users/wdavidw","html_url":"https://github.com/wdavidw","followers_url":"https://api.github.com/users/wdavidw/followers","following_url":"https://api.github.com/users/wdavidw/following{/other_user}","gists_url":"https://api.github.com/users/wdavidw/gists{/gist_id}","starred_url":"https://api.github.com/users/wdavidw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdavidw/subscriptions","organizations_url":"https://api.github.com/users/wdavidw/orgs","repos_url":"https://api.github.com/users/wdavidw/repos","events_url":"https://api.github.com/users/wdavidw/events{/privacy}","received_events_url":"https://api.github.com/users/wdavidw/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T22:59:06Z","updated_at":"2015-04-12T22:59:06Z","body":"i'm interested as well for some update on this issue"}}