MCPcopy Index your code
hub / github.com/nodejs/node / getModuleTransformForFile

Function getModuleTransformForFile

test/fixtures/snapshot/typescript.js:107582–107584  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

107580 return cjsOnEmitNode(hint, node, emitCallback);
107581 }
107582 function getModuleTransformForFile(file) {
107583 return file.impliedNodeFormat === ts.ModuleKind.ESNext ? esmTransform : cjsTransform;
107584 }
107585 function transformSourceFile(node) {
107586 if (node.isDeclarationFile) {
107587 return node;

Callers 1

transformSourceFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected