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

Method generateMap

src/MagicString.ts:298–300  ·  view source on GitHub ↗

* Generates a version 3 sourcemap.

(options?: SourceMapOptions)

Source from the content-addressed store, hash-verified

296 * Generates a version 3 sourcemap.
297 */
298 generateMap(options?: SourceMapOptions): SourceMap {
299 return new SourceMap(this.generateDecodedMap(options))
300 }
301
302 /** @internal */
303 _ensureindentStr(): void {

Callers

nothing calls this directly

Calls 1

generateDecodedMapMethod · 0.95

Tested by

no test coverage detected