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

Method generateMap

src/MagicString.ts:293–295  ·  view source on GitHub ↗

* Generates a version 3 sourcemap.

(options?: SourceMapOptions)

Source from the content-addressed store, hash-verified

291 * Generates a version 3 sourcemap.
292 */
293 generateMap(options?: SourceMapOptions): SourceMap {
294 return new SourceMap(this.generateDecodedMap(options))
295 }
296
297 /** @internal */
298 _ensureindentStr(): void {

Callers

nothing calls this directly

Calls 1

generateDecodedMapMethod · 0.95

Tested by

no test coverage detected