MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / generateMap

Method generateMap

src/Bundle.ts:221–227  ·  view source on GitHub ↗
(
    options?: SourceMapOptions,
  )

Source from the content-addressed store, hash-verified

219 }
220
221 generateMap(
222 options?: SourceMapOptions,
223 ): Omit<SourceMap, 'sourcesContent'> & { sourcesContent: Array<string | null> } {
224 return new SourceMap(this.generateDecodedMap(options)) as Omit<SourceMap, 'sourcesContent'> & {
225 sourcesContent: Array<string | null>
226 }
227 }
228
229 getIndentString(): string {
230 const indentStringCounts = {}

Callers 2

Bundle.test.tsFile · 0.45

Calls 1

generateDecodedMapMethod · 0.95

Tested by

no test coverage detected