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

Method generateMap

src/MagicString.ts:392–394  ·  view source on GitHub ↗

* Generates a version 3 sourcemap.

(options?: SourceMapOptions)

Source from the content-addressed store, hash-verified

390 * Generates a version 3 sourcemap.
391 */
392 generateMap(options?: SourceMapOptions): SourceMap {
393 return new SourceMap(this.generateDecodedMap(options))
394 }
395
396 /** @internal */
397 _ensureindentStr(): void {

Callers

nothing calls this directly

Calls 1

generateDecodedMapMethod · 0.95

Tested by

no test coverage detected