grunt-traceur icon indicating copy to clipboard operation
grunt-traceur copied to clipboard

SourceMap location is wrong

Open boyusun opened this issue 9 years ago • 0 comments

Hi,

I have a js-src folder containing all javascript source code, and I wanted to use grunt-traceur to generate compiled code into js folder. I got compiled code and source map, but the "sources" in source map is pointing to the wrong location.

I'm using: screen shot 2015-06-25 at 10 23 11 pm

I have js-src/main.js, and I generated js/main.js and js/main.js.map, but the "sources" in the source map is "main.js". (It should be js-src/main.js)

Could anyone have a look at this issue? Or maybe there is something wrong in my configuration? Thank you very much, Boyu

boyusun avatar Jun 26 '15 05:06 boyusun