{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/1681","labels_url":"https://api.github.com/repos/babel/babel/issues/1681/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/1681/comments","events_url":"https://api.github.com/repos/babel/babel/issues/1681/events","html_url":"https://github.com/babel/babel/issues/1681","id":85206963,"number":1681,"title":"[feature request] inline all imports into a single file","user":{"login":"samccone","id":883126,"avatar_url":"https://avatars.githubusercontent.com/u/883126?v=3","gravatar_id":"","url":"https://api.github.com/users/samccone","html_url":"https://github.com/samccone","followers_url":"https://api.github.com/users/samccone/followers","following_url":"https://api.github.com/users/samccone/following{/other_user}","gists_url":"https://api.github.com/users/samccone/gists{/gist_id}","starred_url":"https://api.github.com/users/samccone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samccone/subscriptions","organizations_url":"https://api.github.com/users/samccone/orgs","repos_url":"https://api.github.com/users/samccone/repos","events_url":"https://api.github.com/users/samccone/events{/privacy}","received_events_url":"https://api.github.com/users/samccone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/babel/babel/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-06-04T17:56:59Z","updated_at":"2015-08-30T16:47:19Z","closed_at":null,"body":"#### Use case: \r\n\r\nYou create a library/tool that has dependencies.\r\nYou want to distribute your library in a UMD format (and have it work in the browser without a user having to use something like system.js to polyfill \"require\")\r\n\r\n#### Current solution:\r\n\r\nUsing browserify to do the inlining work or create a custom build system to support this.\r\n\r\n#### Ideal solution:\r\n\r\nA flag to enable this joining inside of babel.\r\n\r\n#### Why does this belong in core?\r\n\r\nIf you support exporting to UMD, then for it to be truly universal inlining the dependencies is essential. \r\n\r\nThanks :space_invader: "},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/136159451","html_url":"https://github.com/babel/babel/issues/1681#issuecomment-136159451","issue_url":"https://api.github.com/repos/babel/babel/issues/1681","id":136159451,"user":{"login":"samccone","id":883126,"avatar_url":"https://avatars.githubusercontent.com/u/883126?v=3","gravatar_id":"","url":"https://api.github.com/users/samccone","html_url":"https://github.com/samccone","followers_url":"https://api.github.com/users/samccone/followers","following_url":"https://api.github.com/users/samccone/following{/other_user}","gists_url":"https://api.github.com/users/samccone/gists{/gist_id}","starred_url":"https://api.github.com/users/samccone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samccone/subscriptions","organizations_url":"https://api.github.com/users/samccone/orgs","repos_url":"https://api.github.com/users/samccone/repos","events_url":"https://api.github.com/users/samccone/events{/privacy}","received_events_url":"https://api.github.com/users/samccone/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T16:47:18Z","updated_at":"2015-08-30T16:47:18Z","body":"both @jmeas :)"}}