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

Function getWebDir

cli/src/cordova.ts:236–244  ·  view source on GitHub ↗
(config: Config, platform: string)

Source from the content-addressed store, hash-verified

234}
235
236async function getWebDir(config: Config, platform: string): Promise<string> {
237 if (platform === 'ios') {
238 return config.ios.webDirAbs;
239 }
240 if (platform === 'android') {
241 return config.android.webDirAbs;
242 }
243 return '';
244}
245
246export async function handleCordovaPluginsJS(
247 cordovaPlugins: Plugin[],

Callers 5

copyPluginsJSFunction · 0.70
copyCordovaJSFunction · 0.70
createEmptyCordovaJSFunction · 0.70
removePluginFilesFunction · 0.70
handleCordovaPluginsJSFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected