{"action":"created","issue":{"url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/18","labels_url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/18/comments","events_url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/18/events","html_url":"https://github.com/wheresrhys/fetch-mock/issues/18","id":101703720,"number":18,"title":"Unable to use with Webpack","user":{"login":"sairion","id":484290,"avatar_url":"https://avatars.githubusercontent.com/u/484290?v=3","gravatar_id":"","url":"https://api.github.com/users/sairion","html_url":"https://github.com/sairion","followers_url":"https://api.github.com/users/sairion/followers","following_url":"https://api.github.com/users/sairion/following{/other_user}","gists_url":"https://api.github.com/users/sairion/gists{/gist_id}","starred_url":"https://api.github.com/users/sairion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sairion/subscriptions","organizations_url":"https://api.github.com/users/sairion/orgs","repos_url":"https://api.github.com/users/sairion/repos","events_url":"https://api.github.com/users/sairion/events{/privacy}","received_events_url":"https://api.github.com/users/sairion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wheresrhys/fetch-mock/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-08-18T17:09:00Z","updated_at":"2015-09-25T16:48:30Z","closed_at":null,"body":"Because Sinon does not really work well with Webpack, using Karma-webpack with this lib will produce error on load. In order to make karma-webpack work with Sinon, plugin with `karma-sinon` is always required. I think this lib can be provided as a Karma plugin.\r\n\r\nedit: I did not notice there was browserify instruction. But requiring `fetch-mock/client` does not work either."},"comment":{"url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/comments/143276233","html_url":"https://github.com/wheresrhys/fetch-mock/issues/18#issuecomment-143276233","issue_url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/18","id":143276233,"user":{"login":"wheresrhys","id":447559,"avatar_url":"https://avatars.githubusercontent.com/u/447559?v=3","gravatar_id":"","url":"https://api.github.com/users/wheresrhys","html_url":"https://github.com/wheresrhys","followers_url":"https://api.github.com/users/wheresrhys/followers","following_url":"https://api.github.com/users/wheresrhys/following{/other_user}","gists_url":"https://api.github.com/users/wheresrhys/gists{/gist_id}","starred_url":"https://api.github.com/users/wheresrhys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheresrhys/subscriptions","organizations_url":"https://api.github.com/users/wheresrhys/orgs","repos_url":"https://api.github.com/users/wheresrhys/repos","events_url":"https://api.github.com/users/wheresrhys/events{/privacy}","received_events_url":"https://api.github.com/users/wheresrhys/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T16:48:29Z","updated_at":"2015-09-25T16:48:29Z","body":"The thinking is that you wouldn't even want to or need to use this library\nunless you're already working in an environment that, either natively or\nvia a polyfill, supports fetch. Adding fetch to your js environment is\noutside of the scope of this module\nOn Fri, 25 Sep 2015 at 4:53 p.m., Jaeho Lee <notifications@github.com>\nwrote:\n\n> @OpakAlex <https://github.com/OpakAlex> Use library like isomorphic-fetch\n> <https://github.com/matthew-andrews/isomorphic-fetch>\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/wheresrhys/fetch-mock/issues/18#issuecomment-143259668>\n> .\n>\n"}}