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

Function mkAlias

packages/vite/hmr/server/websocket.ts:1791–1791  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1789 try {
1790 let coreAliasIdx = 0;
1791 const mkAlias = () => `__NSC${coreAliasIdx++}`;
1792 const coreUrl = (sub?: string) => {
1793 const p = (sub || '').replace(/^\//, '');
1794 return `${httpOriginSafe || ''}/ns/core` + (p ? `?p=${p}` : '');

Callers 1

rewriteImportsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected