Authored by 陈峰

commit

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