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

Method generateDecodedMap

src/Bundle.ts:260–269  ·  view source on GitHub ↗
(options: BundleSourceMapOptions = {})

Source from the content-addressed store, hash-verified

258 }
259
260 generateDecodedMap(options: BundleSourceMapOptions = {}): DecodedSourceMapOrMissingContent {
261 const mappings = new Mappings(options.hires)
262 const { names, x_google_ignoreList } = this._generateMappings(mappings)
263
264 return {
265 ...this._mapProperties(options, names, x_google_ignoreList),
266 mappings: mappings.raw,
267 rangeMappings: mappings.rawRangeMappings,
268 }
269 }
270
271 generateMap(
272 options: BundleSourceMapOptions = {},

Callers 3

trim.test.tsFile · 0.45

Calls 2

_generateMappingsMethod · 0.95
_mapPropertiesMethod · 0.95

Tested by

no test coverage detected