MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / buildStart

Function buildStart

packages/vite/helpers/prelink-angular.ts:102–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 return { resolve: { alias } };
101 },
102 async buildStart() {
103 if (done) return;
104 const disabled = process.env.NS_PRELINK === '0' || process.env.NS_PRELINK === 'false';
105 if (disabled) return;
106 // Fallback: in case config() path was skipped (edge), run once.
107 for (const pkg of pkgs) {
108 await prelinkPackage(req, pkg, cacheRoot, false);
109 }
110 done = true;
111 },
112 };
113}

Callers

nothing calls this directly

Calls 1

prelinkPackageFunction · 0.85

Tested by

no test coverage detected