Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NativeScript/NativeScript
/ getProjectRootPath
Function
getProjectRootPath
packages/webpack5/src/helpers/project.ts:4–6 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
import
{ resolve } from
'path'
;
3
4
export
function
getProjectRootPath(): string {
5
return
process.cwd();
6
}
7
8
interface
IPackageJson {
9
main?: string;
Callers
8
getDependencyPath
Function · 0.90
getEntryPath
Function · 0.90
getAbsoluteDistPath
Function · 0.90
getDotEnvPath
Function · 0.90
getFileReplacementsFromEnv
Function · 0.90
getDistPath
Function · 0.90
getDistPath
Function · 0.90
getProjectFilePath
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected