node-clinic
node-clinic copied to clipboard
Transpiled files are classified as "v8"
https://github.com/nearform/node-clinic-flame/blob/adb5900cf9f77eff50646f42f5a0c35e1a826603/analysis/frame-node.js#L127
I'm running applications written in TypeScript through the ts-node wrapper, and that works reasonably well -- except that all application code gets classified as 'v8'. I now looked at this problem, and it seems that this is actually because getCoreOrV8Type
checks for '.m?js'.
I'm not completely sure how this could be fixed, potentially this could check whether the file is inside the application directory and is not a dependency?
@ankon - Typescript is not currently supported. You need to supply Flame with the built JS directory.
Dup of clinicjs/node-clinic#440