Closed shepherdwind closed 7 years ago
If the SourceMap comment refer to a file path, then load sourceMap by fromMapFileComment other than fromComment.
fromMapFileComment
fromComment
When I use typescript with power-assert, I open the sourceMap config, and then the sourceMap comment refer to a foo.js.map file.
foo.js.map
I spend a lot time to find why soucemap just not work, And finally I find that this lib do not support file sourceMap. So I send this pr to fix it.
@shepherdwind Thank you for your great contribution! I'll release this feature ASAP.
espower-source 2.1.0 is out. Thanks!
If the SourceMap comment refer to a file path, then load sourceMap by
fromMapFileComment
other thanfromComment
.When I use typescript with power-assert, I open the sourceMap config, and then the sourceMap comment refer to a
foo.js.map
file.I spend a lot time to find why soucemap just not work, And finally I find that this lib do not support file sourceMap. So I send this pr to fix it.