gulp-concat-sourcemap
gulp-concat-sourcemap copied to clipboard
I am wondering if we can add an option
To rename the map file to something other than the derived default, it can be useful if you are generating a number of outputs and you want to chose the final name of the map file.
Also you probably want to update the readme with a few more examples to show how to make it work with uglify
Happy to do a pull request
Are you going to do PR?
Sorry I missed this, yeah I can do a PR
Strangely enough all the tests ( with the exception of the first ) are failing with original source, I have not made any changes yet.
The problem is that the mappings don't match ( scroll to far right ) I am running this on windows box but I can't imagine how that would matter.
Expected +"{\n \"version\": 3,\n \"file\": \"file.js\",\n \"sources\": [\n \"file1.js\",\n \"file2.js\"\n ],\n \"names\": [],\n \"mappings\": \"AAAA;;ACAA\"\n}"
Actual -"{\n \"version\": 3,\n \"file\": \"file.js\",\n \"sources\": [\n \"file1.js\",\n \"file2.js\"\n ],\n \"names\": [],\n \"mappings\": \"AAAA;CCAA\"\n}"