MCPcopy
hub / github.com/triggerdotdev/trigger.dev / resolvePath

Function resolvePath

packages/cli-v3/src/utilities/build.ts:114–119  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

112 const matchPath = tsconfigPath ? createMatchPath(tsconfigPath) : undefined;
113
114 function resolvePath(id: string) {
115 if (!matchPath) {
116 return id;
117 }
118 return matchPath(id, undefined, undefined, [".ts", ".tsx", ".js", ".jsx"]) || id;
119 }
120
121 return {
122 name: "trigger-bundle-dependencies",

Callers 1

setupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…