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

Method generateMap

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

Source from the content-addressed store, hash-verified

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

Callers 2

Bundle.test.tsFile · 0.45

Calls 1

generateDecodedMapMethod · 0.95

Tested by

no test coverage detected