{"action":"opened","issue":{"url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/813","labels_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/813/labels{/name}","comments_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/813/comments","events_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/813/events","html_url":"https://github.com/mishoo/UglifyJS2/issues/813","id":108544741,"number":813,"title":"--out-source-map via --in-source-map not actually being altered","user":{"login":"noahgrant","id":1355779,"avatar_url":"https://avatars.githubusercontent.com/u/1355779?v=3","gravatar_id":"","url":"https://api.github.com/users/noahgrant","html_url":"https://github.com/noahgrant","followers_url":"https://api.github.com/users/noahgrant/followers","following_url":"https://api.github.com/users/noahgrant/following{/other_user}","gists_url":"https://api.github.com/users/noahgrant/gists{/gist_id}","starred_url":"https://api.github.com/users/noahgrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahgrant/subscriptions","organizations_url":"https://api.github.com/users/noahgrant/orgs","repos_url":"https://api.github.com/users/noahgrant/repos","events_url":"https://api.github.com/users/noahgrant/events{/privacy}","received_events_url":"https://api.github.com/users/noahgrant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-27T16:05:21Z","updated_at":"2015-09-27T16:05:21Z","closed_at":null,"body":"Maybe I'm not understanding this right, but if I do this to an un-uglified js file and its external map:\r\n\r\n```\r\nuglifyjs --compress --screw-ie8 --in-source-map ./myJsFile.js.map --out-source-map ./myJsFile.min.js.map -o myJSFile.min.js -- myJsFile.js\r\n```\r\n\r\n`myJsFile.min.js.map` isn't created.  If instead I send the output to the original files (which is actually what I want to do), ie:\r\n\r\n```\r\nuglifyjs --compress --screw-ie8 --in-source-map ./myJsFile.js.map --out-source-map ./myJsFile.js.map -o myJSFile.js -- myJsFile.js\r\n```\r\n\r\n`myJsFile.js` is minified, but the map is completely untouched, and still looks similar to this screenshot, which no longer lines up with `myJsFile.js`:\r\n\r\n<img width=\"970\" alt=\"screen shot 2015-09-27 at 8 51 27 am\" src=\"https://cloud.githubusercontent.com/assets/1355779/10123711/bfd17616-64f5-11e5-8b04-45287f27e349.png\">\r\n\r\nIf instead I _don't_ pass in an `inSourceMap`/`outSourceMap` argument and simply try to create a sourcemap from uglify:\r\n\r\n```\r\nuglifyjs --compress --screw-ie8 --source-map ./myJsFile.js.map -o myJSFile.js -- myJsFile.js\r\n```\r\n\r\nI get what I expect—a sourcemap to the minified code:\r\n<img width=\"1398\" alt=\"screen shot 2015-09-27 at 8 59 58 am\" src=\"https://cloud.githubusercontent.com/assets/1355779/10123751/76ae69b6-64f6-11e5-9eb4-9566016c2848.png\">\r\n\r\n\r\nIt seems like I can't get a map to be generated by `outSourceMap` via a previously-generated sourcemap.  For completeness, I am actually generating the sourcemap via browserify and extracting it via the [exorcist](https://github.com/thlorenz/exorcist) plugin, and I'm really trying to load it into uglify using gulp and gulp-sourcemaps `{load: true}` option.  But it's not working from the command line with uglify, let alone from my gulp workflow.\r\n\r\nAny insight would be greatly appreciated, especially if I'm just not using uglify correctly. Thanks!"}}