{"action":"closed","issue":{"url":"https://api.github.com/repos/rinh/fekit/issues/76","labels_url":"https://api.github.com/repos/rinh/fekit/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/rinh/fekit/issues/76/comments","events_url":"https://api.github.com/repos/rinh/fekit/issues/76/events","html_url":"https://github.com/rinh/fekit/issues/76","id":56491336,"number":76,"title":"#54 的修正会引发新的问题","user":{"login":"netwjx","id":197517,"avatar_url":"https://avatars.githubusercontent.com/u/197517?v=3","gravatar_id":"","url":"https://api.github.com/users/netwjx","html_url":"https://github.com/netwjx","followers_url":"https://api.github.com/users/netwjx/followers","following_url":"https://api.github.com/users/netwjx/following{/other_user}","gists_url":"https://api.github.com/users/netwjx/gists{/gist_id}","starred_url":"https://api.github.com/users/netwjx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netwjx/subscriptions","organizations_url":"https://api.github.com/users/netwjx/orgs","repos_url":"https://api.github.com/users/netwjx/repos","events_url":"https://api.github.com/users/netwjx/events{/privacy}","received_events_url":"https://api.github.com/users/netwjx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-04T07:44:56Z","updated_at":"2015-08-12T05:30:48Z","closed_at":"2015-08-12T05:30:48Z","body":"#54 的修正会引发新的问题\r\n\r\n`foo.scss`\r\n\r\n```scss\r\n.foo{\r\n    .bar {\r\n        @import \"bar\";\r\n     }\r\n}\r\n```\r\n\r\n`_bar.scss`\r\n\r\n```scss\r\na {\r\n    color: red;\r\n}\r\n```\r\n\r\n以  `http://localhost/prd/styles/foo.css` 访问\r\n\r\n```css\r\n@import url('http://localhost/prd/styles/foo.scss?d3bfe8175baf3524');\r\n```\r\n\r\n这时 sass.coffee:行8  MAP 已经被填充满了\r\n\r\n再访问 `http://localhost/prd/styles/foo.scss?d3bfe8175baf3524` 发现内容并不包括 `_bar.scss`\r\n\r\n其次, 上述代码中的 `@import` 意思是 `_bar.scss` 中的所有选择器 自动加上 `.foo .bar` 的前缀, 这种场景不能去重\r\n\r\nP.S. Stylus原生支持 require"}}