Would love to be able to access the source file path of the component from any of the processors to output something like:
{
"Text": {
"sourcePath": "/path/to/component",
"instances": [
{
"props": {
"textStyle": "subtitle2"
},
"propsSpread": false,
"location": {
"file": "/path/to/file",
"start": {
"line": 9,
"column": 9
}
}
},
]
},
}
Or alternatively, is there a way to get this value from importedFrom in the config?