Authored by 陈峰

comiit

@@ -31,13 +31,13 @@ const loadFileSourceMap = (fileUrl) => { @@ -31,13 +31,13 @@ const loadFileSourceMap = (fileUrl) => {
31 }; 31 };
32 32
33 const parse = ({fileUrl, line, column}) => { 33 const parse = ({fileUrl, line, column}) => {
34 - if (!fileUrl.test(/\.js(\?[^\?]*)?$/)) {  
35 - return Promise.resolve({  
36 - source: fileUrl,  
37 - line,  
38 - column  
39 - });  
40 - } 34 + // if (!fileUrl.test(/\.js(\?[^\?]*)?$/)) {
  35 + // return Promise.resolve({
  36 + // source: fileUrl,
  37 + // line,
  38 + // column
  39 + // });
  40 + // }
41 return loadFileSourceMap(fileUrl).then(source => { 41 return loadFileSourceMap(fileUrl).then(source => {
42 if (!source || !line) { 42 if (!source || !line) {
43 return void 0; 43 return void 0;