{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fbjs/issues/73","labels_url":"https://api.github.com/repos/facebook/fbjs/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fbjs/issues/73/comments","events_url":"https://api.github.com/repos/facebook/fbjs/issues/73/events","html_url":"https://github.com/facebook/fbjs/issues/73","id":112461358,"number":73,"title":"_moduleMap Babel option as require path","user":{"login":"nickdima","id":614468,"avatar_url":"https://avatars.githubusercontent.com/u/614468?v=3","gravatar_id":"","url":"https://api.github.com/users/nickdima","html_url":"https://github.com/nickdima","followers_url":"https://api.github.com/users/nickdima/followers","following_url":"https://api.github.com/users/nickdima/following{/other_user}","gists_url":"https://api.github.com/users/nickdima/gists{/gist_id}","starred_url":"https://api.github.com/users/nickdima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickdima/subscriptions","organizations_url":"https://api.github.com/users/nickdima/orgs","repos_url":"https://api.github.com/users/nickdima/repos","events_url":"https://api.github.com/users/nickdima/events{/privacy}","received_events_url":"https://api.github.com/users/nickdima/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-20T21:09:18Z","updated_at":"2015-10-20T21:41:45Z","closed_at":null,"body":"If you need to pull `fbjs/module-map` as `_moduleMap` in `.babelrc` there's no way to do it aside from copy/pasting everything as you can't require from there.\r\nWould it be feasible to detect if the option is a string and in that case do a require on it?"},"comment":{"url":"https://api.github.com/repos/facebook/fbjs/issues/comments/149711602","html_url":"https://github.com/facebook/fbjs/issues/73#issuecomment-149711602","issue_url":"https://api.github.com/repos/facebook/fbjs/issues/73","id":149711602,"user":{"login":"zpao","id":8445,"avatar_url":"https://avatars.githubusercontent.com/u/8445?v=3","gravatar_id":"","url":"https://api.github.com/users/zpao","html_url":"https://github.com/zpao","followers_url":"https://api.github.com/users/zpao/followers","following_url":"https://api.github.com/users/zpao/following{/other_user}","gists_url":"https://api.github.com/users/zpao/gists{/gist_id}","starred_url":"https://api.github.com/users/zpao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpao/subscriptions","organizations_url":"https://api.github.com/users/zpao/orgs","repos_url":"https://api.github.com/users/zpao/repos","events_url":"https://api.github.com/users/zpao/events{/privacy}","received_events_url":"https://api.github.com/users/zpao/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T21:41:45Z","updated_at":"2015-10-20T21:41:45Z","body":"We have a config that varies slightly when running tests (don't need all the transforms, for example the DEV one… though we're running it) so I've generally shied away from the rc and towards a shared base config that can be extended (though we don't actually do that in React at the moment).\r\n\r\nI'm not against changing how things work, just want to make sure it's worth it and that it's something we can do across our projects."}}