MCPcopy Create free account
hub / github.com/Swatinem/rollup-plugin-dts / encodeResolvedModule

Function encodeResolvedModule

src/transform/ModuleDeclarationFixer.ts:11–13  ·  view source on GitHub ↗
(absolutePath: string)

Source from the content-addressed store, hash-verified

9
10/** Encode a resolved absolute path as a marker comment for later chunk resolution. */
11export function encodeResolvedModule(absolutePath: string) {
12 return `/*${RESOLVED_MODULE_PREFIX}${absolutePath}*/`;
13}
14
15/** Decode a resolved module marker comment from text. Returns the absolute path, or null if not found. */
16function decodeResolvedModule(text: string) {

Callers 1

preProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…