MCPcopy
hub / github.com/ionic-team/capacitor / loadWebConfig

Function loadWebConfig

cli/src/config.ts:311–320  ·  view source on GitHub ↗
(rootDir: string, webDir: string)

Source from the content-addressed store, hash-verified

309}
310
311async function loadWebConfig(rootDir: string, webDir: string): Promise<WebConfig> {
312 const platformDir = webDir;
313 const platformDirAbs = resolve(rootDir, platformDir);
314
315 return {
316 name: 'web',
317 platformDir,
318 platformDirAbs,
319 };
320}
321
322function determineOS(os: NodeJS.Platform): OS {
323 switch (os) {

Callers 1

loadConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected