MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / addPlatform

Function addPlatform

packages/webpack5/src/helpers/platform.ts:34–37  ·  view source on GitHub ↗
(name: string, platform: INativeScriptPlatform)

Source from the content-addressed store, hash-verified

32 * @param platform A platform definition of the platform specifics
33 */
34export function addPlatform(name: string, platform: INativeScriptPlatform) {
35 info(`Adding platform ${name}`, platform);
36 platforms[name] = platform;
37}
38
39/**
40 * Utility to get the currently targeted platform definition

Callers 1

platform.spec.tsFile · 0.90

Calls 1

infoFunction · 0.90

Tested by

no test coverage detected