MCPcopy Create free account
hub / github.com/bailicangdu/react-pxq / resolveApp

Function resolveApp

config/paths.js:18–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16// https://github.com/facebookincubator/create-react-app/issues/637
17const appDirectory = fs.realpathSync(process.cwd());
18const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
19
20const envPublicUrl = process.env.PUBLIC_URL;
21const appName = envPublicUrl&&envPublicUrl.split('/').reverse()[0];

Callers 1

paths.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected