{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/4548","labels_url":"https://api.github.com/repos/facebook/react-native/issues/4548/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/4548/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/4548/events","html_url":"https://github.com/facebook/react-native/issues/4548","id":120280753,"number":4548,"title":"[0.16.0-rc] using a library which uses a .babelrc is broken","user":{"login":"gre","id":211411,"avatar_url":"https://avatars.githubusercontent.com/u/211411?v=3","gravatar_id":"","url":"https://api.github.com/users/gre","html_url":"https://github.com/gre","followers_url":"https://api.github.com/users/gre/followers","following_url":"https://api.github.com/users/gre/following{/other_user}","gists_url":"https://api.github.com/users/gre/gists{/gist_id}","starred_url":"https://api.github.com/users/gre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gre/subscriptions","organizations_url":"https://api.github.com/users/gre/orgs","repos_url":"https://api.github.com/users/gre/repos","events_url":"https://api.github.com/users/gre/events{/privacy}","received_events_url":"https://api.github.com/users/gre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/Packager","name":"Packager","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-03T22:04:19Z","updated_at":"2015-12-05T00:20:53Z","closed_at":null,"body":"I'm developing a library that have a .babelrc and exposed both for web and native.\r\n\r\nit contains:\r\n```\r\n{\r\n  \"presets\": [\"es2015\", \"stage-1\", \"react\"]\r\n}\r\n```\r\n\r\nI've creating an empty RN 0.16.0-rc project, add my lib in dependencies, and when trying to run, it breaks:\r\n\r\n\r\n<img width=\"377\" alt=\"screen shot 2015-12-03 at 23 03 13\" src=\"https://cloud.githubusercontent.com/assets/211411/11575568/102a38c2-9a12-11e5-8fcb-44ebce7e56fc.png\">\r\n\r\nit still breaks the same if I just have `[\"es2015\"]`.\r\n\r\n\r\nEach library should be able to expose a .babelrc right? I thought this was the convention."},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/162116453","html_url":"https://github.com/facebook/react-native/issues/4548#issuecomment-162116453","issue_url":"https://api.github.com/repos/facebook/react-native/issues/4548","id":162116453,"user":{"login":"adriansprod","id":5958031,"avatar_url":"https://avatars.githubusercontent.com/u/5958031?v=3","gravatar_id":"","url":"https://api.github.com/users/adriansprod","html_url":"https://github.com/adriansprod","followers_url":"https://api.github.com/users/adriansprod/followers","following_url":"https://api.github.com/users/adriansprod/following{/other_user}","gists_url":"https://api.github.com/users/adriansprod/gists{/gist_id}","starred_url":"https://api.github.com/users/adriansprod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriansprod/subscriptions","organizations_url":"https://api.github.com/users/adriansprod/orgs","repos_url":"https://api.github.com/users/adriansprod/repos","events_url":"https://api.github.com/users/adriansprod/events{/privacy}","received_events_url":"https://api.github.com/users/adriansprod/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T00:20:53Z","updated_at":"2015-12-05T00:20:53Z","body":"This is affecting the 'alt' framework. Removing .babelrc works https://github.com/goatslacker/alt/issues/558"}}