{"action":"created","issue":{"url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/10","labels_url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/10/comments","events_url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/10/events","html_url":"https://github.com/kisenka/svg-sprite-loader/pull/10","id":116125419,"number":10,"title":"Make it generate correct code on Windows","user":{"login":"jonnyzzz","id":256431,"avatar_url":"https://avatars.githubusercontent.com/u/256431?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnyzzz","html_url":"https://github.com/jonnyzzz","followers_url":"https://api.github.com/users/jonnyzzz/followers","following_url":"https://api.github.com/users/jonnyzzz/following{/other_user}","gists_url":"https://api.github.com/users/jonnyzzz/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnyzzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnyzzz/subscriptions","organizations_url":"https://api.github.com/users/jonnyzzz/orgs","repos_url":"https://api.github.com/users/jonnyzzz/repos","events_url":"https://api.github.com/users/jonnyzzz/events{/privacy}","received_events_url":"https://api.github.com/users/jonnyzzz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T15:09:30Z","updated_at":"2015-11-11T01:45:32Z","closed_at":"2015-11-10T15:20:07Z","pull_request":{"url":"https://api.github.com/repos/kisenka/svg-sprite-loader/pulls/10","html_url":"https://github.com/kisenka/svg-sprite-loader/pull/10","diff_url":"https://github.com/kisenka/svg-sprite-loader/pull/10.diff","patch_url":"https://github.com/kisenka/svg-sprite-loader/pull/10.patch"},"body":"Before the fix it generated a code like ```require(\"c:\\Work\\foo\\bar\");``` the code is not valid, because of un-escaped slashes. I added the replace from the next array element. This resolved the issue for windows"},"comment":{"url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/comments/155628080","html_url":"https://github.com/kisenka/svg-sprite-loader/pull/10#issuecomment-155628080","issue_url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/10","id":155628080,"user":{"login":"kisenka","id":2714771,"avatar_url":"https://avatars.githubusercontent.com/u/2714771?v=3","gravatar_id":"","url":"https://api.github.com/users/kisenka","html_url":"https://github.com/kisenka","followers_url":"https://api.github.com/users/kisenka/followers","following_url":"https://api.github.com/users/kisenka/following{/other_user}","gists_url":"https://api.github.com/users/kisenka/gists{/gist_id}","starred_url":"https://api.github.com/users/kisenka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kisenka/subscriptions","organizations_url":"https://api.github.com/users/kisenka/orgs","repos_url":"https://api.github.com/users/kisenka/repos","events_url":"https://api.github.com/users/kisenka/events{/privacy}","received_events_url":"https://api.github.com/users/kisenka/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T01:45:32Z","updated_at":"2015-11-11T01:45:32Z","body":"@jonnyzzz @princed usually [loaderUtils.stringifyRequest](https://github.com/webpack/loader-utils/blob/master/index.js#L87) used for such things"}}