Authored by 陈峰

commit

... ... @@ -31,6 +31,13 @@ const loadFileSourceMap = (fileUrl) => {
};
const parse = ({fileUrl, line, column}) => {
if (!fileUrl.test(/\.js(\?[^\?]*)?$/)) {
return Promise.resolve({
source: fileUrl,
line,
column
});
}
return loadFileSourceMap(fileUrl).then(source => {
if (!source || !line) {
return void 0;
... ...