MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / resolveFromAppRoot

Function resolveFromAppRoot

packages/vite/configuration/base.ts:72–72  ·  view source on GitHub ↗
(subPath: string)

Source from the content-addressed store, hash-verified

70const projectRoot = getProjectRootPath();
71const appSourceDir = getProjectAppPath();
72const resolveFromAppRoot = (subPath: string) => path.resolve(projectRoot, getProjectAppRelativePath(subPath));
73const appGlobPattern = `${appSourceDir}/**`;
74
75// Resolve @nativescript/core root.

Callers 1

baseConfigFunction · 0.85

Calls 2

resolveMethod · 0.80

Tested by

no test coverage detected