{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/css-loader/issues/29","repository_url":"https://api.github.com/repos/webpack/css-loader","labels_url":"https://api.github.com/repos/webpack/css-loader/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/webpack/css-loader/issues/29/comments","events_url":"https://api.github.com/repos/webpack/css-loader/issues/29/events","html_url":"https://github.com/webpack/css-loader/issues/29","id":52270252,"number":29,"title":"sourceMap css does not function for background-image (maybe stylus-loader issue)","user":{"login":"nmccready","id":583593,"avatar_url":"https://avatars.githubusercontent.com/u/583593?v=3","gravatar_id":"","url":"https://api.github.com/users/nmccready","html_url":"https://github.com/nmccready","followers_url":"https://api.github.com/users/nmccready/followers","following_url":"https://api.github.com/users/nmccready/following{/other_user}","gists_url":"https://api.github.com/users/nmccready/gists{/gist_id}","starred_url":"https://api.github.com/users/nmccready/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmccready/subscriptions","organizations_url":"https://api.github.com/users/nmccready/orgs","repos_url":"https://api.github.com/users/nmccready/repos","events_url":"https://api.github.com/users/nmccready/events{/privacy}","received_events_url":"https://api.github.com/users/nmccready/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/css-loader/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2014-12-17T17:51:51Z","updated_at":"2016-09-08T08:27:01Z","closed_at":"2015-04-09T21:40:23Z","body":"So this issue is bizarre and I hope I can make an example that does this.\r\n\r\nI successful got sourceMaps to work with stylus-loader with\r\n`{ test: /\\.styl$/, loader: 'style!css?sourceMap!stylus' } `\r\n\r\nHowever when `?sourceMap` is enabled all our `background url('whatever/sprite.png')` no longer work. When the ?sourceMap is removed all is well.\r\n\r\nI will make an example repo when I get the chance. Also let me know if this should be an issue on stylus-loader instead.\r\n\r\nAs for more info the css produced are identical except that sourcemap css is redirected via @import some url. The computed CSS reported by Chrome Debugger is identical, but using (Chrome Extension) CSSViewer reports different processed CSS. Which shows the missing sprite.\r\n\r\nAlso this problem exists in Firefox as well so I do not think it is a chrome issue."},"comment":{"url":"https://api.github.com/repos/webpack/css-loader/issues/comments/245528491","html_url":"https://github.com/webpack/css-loader/issues/29#issuecomment-245528491","issue_url":"https://api.github.com/repos/webpack/css-loader/issues/29","id":245528491,"user":{"login":"liu-dongyu","id":16187601,"avatar_url":"https://avatars.githubusercontent.com/u/16187601?v=3","gravatar_id":"","url":"https://api.github.com/users/liu-dongyu","html_url":"https://github.com/liu-dongyu","followers_url":"https://api.github.com/users/liu-dongyu/followers","following_url":"https://api.github.com/users/liu-dongyu/following{/other_user}","gists_url":"https://api.github.com/users/liu-dongyu/gists{/gist_id}","starred_url":"https://api.github.com/users/liu-dongyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liu-dongyu/subscriptions","organizations_url":"https://api.github.com/users/liu-dongyu/orgs","repos_url":"https://api.github.com/users/liu-dongyu/repos","events_url":"https://api.github.com/users/liu-dongyu/events{/privacy}","received_events_url":"https://api.github.com/users/liu-dongyu/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T08:27:01Z","updated_at":"2016-09-08T08:27:01Z","body":"Still facing this problem. I dont want to set an absolute URL like `http://..`. So only thing i can do is to remove the `sourceMap`"}}
{"actor":{"display_login":"liu-dongyu"}}