mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
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,
|
||||
column: tree.columnNumber,
|
||||
});
|
||||
tree.functionName = original.name;
|
||||
tree.scriptId = tree.id;
|
||||
tree.url = 'file://' + original.source;
|
||||
tree.lineNumber = original.line;
|
||||
|
Loading…
x
Reference in New Issue
Block a user