|
|
|
@ -202,10 +202,10 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
|
let column = 0 |
|
|
|
|
let row = 0 |
|
|
|
|
let fileName = currentFile |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (item.sourceMap && item.sourceMap.length) { |
|
|
|
|
const fileIndex = Object.keys(lastCompilationResult.sources).indexOf(item.sourceMap[0].source_mapping.filename_relative) |
|
|
|
|
if(fileIndex >=0 ) { |
|
|
|
|
if (fileIndex >= 0) { |
|
|
|
|
location = { |
|
|
|
|
start: item.sourceMap[0].source_mapping.start, |
|
|
|
|
length: item.sourceMap[0].source_mapping.length |
|
|
|
|