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

Method generateMap

src/MagicString.ts:288–290  ·  view source on GitHub ↗

* Generates a version 3 sourcemap.

(options?: SourceMapOptions)

Source from the content-addressed store, hash-verified

286 * Generates a version 3 sourcemap.
287 */
288 generateMap(options?: SourceMapOptions): SourceMap {
289 return new SourceMap(this.generateDecodedMap(options))
290 }
291
292 /** @internal */
293 _ensureindentStr(): void {

Callers

nothing calls this directly

Calls 1

generateDecodedMapMethod · 0.95

Tested by

no test coverage detected