MCPcopy
hub / github.com/originjs/vite-plugin-federation / getModuleMarker

Function getModuleMarker

packages/lib/src/utils/index.ts:187–189  ·  view source on GitHub ↗
(value: string, type?: string)

Source from the content-addressed store, hash-verified

185}
186
187export function getModuleMarker(value: string, type?: string): string {
188 return type ? `__rf_${type}__${value}` : `__rf_placeholder__${value}`
189}
190
191export function normalizePath(id: string): string {
192 return posix.normalize(id.replace(/\\/g, '/'))

Callers 6

devRemotePluginFunction · 0.90
transformFunction · 0.90
prodRemotePluginFunction · 0.90
transformFunction · 0.90
prodExposePluginFunction · 0.90
utils.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…