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

Function isVendor

packages/vite/hmr/frameworks/vue/server/strategy.ts:54–56  ·  view source on GitHub ↗
(dep: string, helpers?: FrameworkProcessFileContext['helpers'])

Source from the content-addressed store, hash-verified

52}
53
54function isVendor(dep: string, helpers?: FrameworkProcessFileContext['helpers']): boolean {
55 return !!helpers?.resolveVendorFromCandidate?.(dep);
56}
57
58async function processVueSfc(ctx: FrameworkProcessFileContext): Promise<void> {
59 const { filePath, server, sfcFileMap, depFileMap, visitedPaths, wss, verbose, helpers } = ctx;

Callers 1

processVueSfcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected