{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/827","labels_url":"https://api.github.com/repos/babel/babel/issues/827/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/827/comments","events_url":"https://api.github.com/repos/babel/babel/issues/827/events","html_url":"https://github.com/babel/babel/issues/827","id":58141069,"number":827,"title":"Add sourceMapIn option","user":{"login":"bryanburgers","id":56045,"avatar_url":"https://avatars.githubusercontent.com/u/56045?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanburgers","html_url":"https://github.com/bryanburgers","followers_url":"https://api.github.com/users/bryanburgers/followers","following_url":"https://api.github.com/users/bryanburgers/following{/other_user}","gists_url":"https://api.github.com/users/bryanburgers/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanburgers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanburgers/subscriptions","organizations_url":"https://api.github.com/users/bryanburgers/orgs","repos_url":"https://api.github.com/users/bryanburgers/repos","events_url":"https://api.github.com/users/bryanburgers/events{/privacy}","received_events_url":"https://api.github.com/users/bryanburgers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/babel/babel/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/babel/babel/labels/low%20priority","name":"low priority","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-18T22:43:22Z","updated_at":"2015-03-07T13:33:43Z","closed_at":"2015-03-06T14:51:28Z","body":"babel/grunt-babel#14 suggests using [grunt-contrib-concat][concat] to concatenate multiple files before compiling with Babel.\r\n\r\nHowever, then the outputted source maps reference the file that was created by concat, not the original files. It would be awesome if Babel could take in an existing source map while it does its transforms, so that the outputted source maps reference the original files rather than an intermediate file.\r\n\r\n* Many CSS-processor libraries deal with this by looking in a standard place for a map file (when loading style.css, look for original source maps at style.css.map).\r\n* Uglify deals with this using a [sourceMapIn][uglify] option.\r\n\r\n[concat]: https://github.com/gruntjs/grunt-contrib-concat\r\n[uglify]: https://github.com/gruntjs/grunt-contrib-uglify#sourcemapin"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/77689448","html_url":"https://github.com/babel/babel/issues/827#issuecomment-77689448","issue_url":"https://api.github.com/repos/babel/babel/issues/827","id":77689448,"user":{"login":"bryanburgers","id":56045,"avatar_url":"https://avatars.githubusercontent.com/u/56045?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanburgers","html_url":"https://github.com/bryanburgers","followers_url":"https://api.github.com/users/bryanburgers/followers","following_url":"https://api.github.com/users/bryanburgers/following{/other_user}","gists_url":"https://api.github.com/users/bryanburgers/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanburgers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanburgers/subscriptions","organizations_url":"https://api.github.com/users/bryanburgers/orgs","repos_url":"https://api.github.com/users/bryanburgers/repos","events_url":"https://api.github.com/users/bryanburgers/events{/privacy}","received_events_url":"https://api.github.com/users/bryanburgers/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T13:33:43Z","updated_at":"2015-03-07T13:33:43Z","body":"Yay! Thank you so much."}}