Type object
File match *.map
Schema URL https://catalog.lintel.tools/schemas/schemastore/source-maps-v3/latest.json
Source https://www.schemastore.org/sourcemap-v3.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

version integer required

File version (always the first entry in the object) and must be a positive integer.

Default: 3
file string

An optional name of the generated code that this source map is associated with.

sourceRoot string

An optional source root, useful for relocating source files on a server or removing repeated values in the 'sources' entry. This value is prepended to the individual entries in the 'source' field.

sources string[]

A list of original sources used by the 'mappings' entry.

sourcesContent string | null[]

An optional list of source content, useful when the 'source' can�t be hosted. The contents are listed in the same order as the sources in line 5. 'null' may be used if some original sources should be retrieved by name.

names string[]

A list of symbol names used by the 'mappings' entry.

mappings string

A string with the encoded mapping data.

sections array
minItems=1uniqueItems=true

Definitions

sectionMap object | object