MCPcopy
hub / github.com/imcuttle/mometa / resolveApp

Function resolveApp

packages/editor/example/config/paths.js:10–10  ·  view source on GitHub ↗
(relativePath)

Source from the content-addressed store, hash-verified

8// https://github.com/facebook/create-react-app/issues/637
9const appDirectory = fs.realpathSync(process.cwd())
10const resolveApp = (relativePath) => path.resolve(appDirectory, relativePath)
11
12// We use `PUBLIC_URL` environment variable or "homepage" field to infer
13// "public path" at which the app is served.

Callers 1

paths.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected