MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / resolveId

Function resolveId

packages/nuxt/src/vite/addServerConfig.ts:151–159  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

149 },
150
151 resolveId(source) {
152 if (source.startsWith(filePrefix)) {
153 const originalFilePath = source.replace(filePrefix, '');
154 const configPath = createResolver(nitro.options.rootDir).resolve(`/${originalFilePath}`);
155
156 return { id: configPath };
157 }
158 return null;
159 },
160 };
161}
162

Callers

nothing calls this directly

Calls 5

createResolverFunction · 0.85
replaceMethod · 0.80
loadMethod · 0.80
resolveMethod · 0.65

Tested by

no test coverage detected