Use packager's source map to resolve function name and clean up dead code in SP
Reviewed By: bnham Differential Revision: D3649501 fbshipit-source-id: 62e13633436c645d9b43eb75c39b4ddcf0458eb3
This commit is contained in:
parent
066de9d820
commit
350b5a2c48
|
@ -31,6 +31,7 @@ class TreeTransformator {
|
||||||
line: tree.lineNumber,
|
line: tree.lineNumber,
|
||||||
column: tree.columnNumber,
|
column: tree.columnNumber,
|
||||||
});
|
});
|
||||||
|
tree.functionName = original.name;
|
||||||
tree.scriptId = tree.id;
|
tree.scriptId = tree.id;
|
||||||
tree.url = 'file://' + original.source;
|
tree.url = 'file://' + original.source;
|
||||||
tree.lineNumber = original.line;
|
tree.lineNumber = original.line;
|
||||||
|
|
Loading…
Reference in New Issue