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

Method generateMap

src/MagicString.ts:289–291  ·  view source on GitHub ↗

* Generates a version 3 sourcemap.

(options?: SourceMapOptions)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

generateDecodedMapMethod · 0.95

Tested by

no test coverage detected