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

Function resolveFlavor

packages/vite/helpers/init.ts:77–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77function resolveFlavor(): string {
78 const flavor = determineProjectFlavor();
79 if (!flavor) {
80 return 'javascript';
81 }
82 return flavor;
83}
84
85function getFlavorImportAndConfig(flavor: string): { importLine: string; configExpr: string } {
86 switch (flavor) {

Callers 1

ensureViteConfigFunction · 0.85

Calls 1

determineProjectFlavorFunction · 0.70

Tested by

no test coverage detected