{"action":"created","issue":{"url":"https://api.github.com/repos/Kagami/gulp-ng-annotate/issues/9","labels_url":"https://api.github.com/repos/Kagami/gulp-ng-annotate/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Kagami/gulp-ng-annotate/issues/9/comments","events_url":"https://api.github.com/repos/Kagami/gulp-ng-annotate/issues/9/events","html_url":"https://github.com/Kagami/gulp-ng-annotate/issues/9","id":45294792,"number":9,"title":"gulp-ng-annotate appears to be destroying previous sourcemaps","user":{"login":"OverZealous","id":965719,"avatar_url":"https://avatars.githubusercontent.com/u/965719?v=3","gravatar_id":"","url":"https://api.github.com/users/OverZealous","html_url":"https://github.com/OverZealous","followers_url":"https://api.github.com/users/OverZealous/followers","following_url":"https://api.github.com/users/OverZealous/following{/other_user}","gists_url":"https://api.github.com/users/OverZealous/gists{/gist_id}","starred_url":"https://api.github.com/users/OverZealous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OverZealous/subscriptions","organizations_url":"https://api.github.com/users/OverZealous/orgs","repos_url":"https://api.github.com/users/OverZealous/repos","events_url":"https://api.github.com/users/OverZealous/events{/privacy}","received_events_url":"https://api.github.com/users/OverZealous/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2014-10-08T20:47:39Z","updated_at":"2015-01-30T14:36:36Z","closed_at":null,"body":"I can tell you've already had a bunch of fun with sourcemaps, so I hate to bring this up.  However, I have a script that, among other things, passes the files through [gulp-6to5](https://www.npmjs.org/package/gulp-6to5), then through gulp-ng-annotate.\r\n\r\nIf I leave ng-annotate in-place, I *only* get sourcemaps showing the changes from ng-annotate, as if the original source was the output from 6to5.  If I remove ng-annotate, I clearly see the source map from 6to5.  For some reason, ng-annotate is clobbering the sourcemap.\r\n\r\nI've removed all extra steps to verify the issue occurs with 6to5.  Obviously, since 6to5 is an ES6 compiler, and ng-annotate does not understand ES6 code, I cannot reverse the order to see if there is still an error."},"comment":{"url":"https://api.github.com/repos/Kagami/gulp-ng-annotate/issues/comments/72209988","html_url":"https://github.com/Kagami/gulp-ng-annotate/issues/9#issuecomment-72209988","issue_url":"https://api.github.com/repos/Kagami/gulp-ng-annotate/issues/9","id":72209988,"user":{"login":"Kagami","id":533383,"avatar_url":"https://avatars.githubusercontent.com/u/533383?v=3","gravatar_id":"","url":"https://api.github.com/users/Kagami","html_url":"https://github.com/Kagami","followers_url":"https://api.github.com/users/Kagami/followers","following_url":"https://api.github.com/users/Kagami/following{/other_user}","gists_url":"https://api.github.com/users/Kagami/gists{/gist_id}","starred_url":"https://api.github.com/users/Kagami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kagami/subscriptions","organizations_url":"https://api.github.com/users/Kagami/orgs","repos_url":"https://api.github.com/users/Kagami/repos","events_url":"https://api.github.com/users/Kagami/events{/privacy}","received_events_url":"https://api.github.com/users/Kagami/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T14:36:36Z","updated_at":"2015-01-30T14:36:36Z","body":"@amcdnl yeap, good catch. I've just published `gulp-ng-annotate` 0.5.1 with `gulpWarnings` option. If you set it to false this warning won't be shown anymore.\r\nThanks!"}}