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

Method generateMap

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

Source from the content-addressed store, hash-verified

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

Callers 2

Bundle.test.tsFile · 0.45

Calls 1

generateDecodedMapMethod · 0.95

Tested by

no test coverage detected