{"action":"created","issue":{"url":"https://api.github.com/repos/milankinen/livereactload/issues/71","labels_url":"https://api.github.com/repos/milankinen/livereactload/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/milankinen/livereactload/issues/71/comments","events_url":"https://api.github.com/repos/milankinen/livereactload/issues/71/events","html_url":"https://github.com/milankinen/livereactload/issues/71","id":112037695,"number":71,"title":"incompatbile with babel.optional[]=runtime","user":{"login":"marionebl","id":4248851,"avatar_url":"https://avatars.githubusercontent.com/u/4248851?v=3","gravatar_id":"","url":"https://api.github.com/users/marionebl","html_url":"https://github.com/marionebl","followers_url":"https://api.github.com/users/marionebl/followers","following_url":"https://api.github.com/users/marionebl/following{/other_user}","gists_url":"https://api.github.com/users/marionebl/gists{/gist_id}","starred_url":"https://api.github.com/users/marionebl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marionebl/subscriptions","organizations_url":"https://api.github.com/users/marionebl/orgs","repos_url":"https://api.github.com/users/marionebl/repos","events_url":"https://api.github.com/users/marionebl/events{/privacy}","received_events_url":"https://api.github.com/users/marionebl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/milankinen/livereactload/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-18T19:58:01Z","updated_at":"2015-10-21T12:22:36Z","closed_at":null,"body":"When using the optional babel-runtime transform like this\r\n```js\r\n//.babelrc\r\n{\r\n  \"optional\": [\"runtime\"]\r\n}\r\n```\r\n\r\nlivereactload produces the following code \r\n```js\r\n(function(modules, entryId$$) {\r\n             \"use strict\";\r\n\r\nvar _Object$keys = require(\"babel-runtime/core-js/object/keys\")[\"default\"];\r\n\r\nvar require = (function () {\r\n  require.__byId = __byId;\r\n  return require;\r\n```\r\n\r\nwhich in turn produces a TypeError:\r\n\r\n`Uncaught TypeError: require is not a function`"},"comment":{"url":"https://api.github.com/repos/milankinen/livereactload/issues/comments/149876740","html_url":"https://github.com/milankinen/livereactload/issues/71#issuecomment-149876740","issue_url":"https://api.github.com/repos/milankinen/livereactload/issues/71","id":149876740,"user":{"login":"milankinen","id":1080706,"avatar_url":"https://avatars.githubusercontent.com/u/1080706?v=3","gravatar_id":"","url":"https://api.github.com/users/milankinen","html_url":"https://github.com/milankinen","followers_url":"https://api.github.com/users/milankinen/followers","following_url":"https://api.github.com/users/milankinen/following{/other_user}","gists_url":"https://api.github.com/users/milankinen/gists{/gist_id}","starred_url":"https://api.github.com/users/milankinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milankinen/subscriptions","organizations_url":"https://api.github.com/users/milankinen/orgs","repos_url":"https://api.github.com/users/milankinen/repos","events_url":"https://api.github.com/users/milankinen/events{/privacy}","received_events_url":"https://api.github.com/users/milankinen/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T12:22:36Z","updated_at":"2015-10-21T12:22:36Z","body":"Yesh! I was able to re-produce this with `examples/01-basic-usage`. Fix coming soon."}}