Constructors
constructor
- new MapModifier(map?: string | RawSourceMap): MapModifier
Parameters
Optional map: string | RawSourceMap
Properties
Private Optional Readonly map
map?: RawSourceMap
Methods
modify
Parameters
f: (m: RawSourceMap) => void
modifySources
- modifySources(op: (source: string) => string): MapModifier
Parameters
op: (source: string) => string
toCommentFile
- toCommentFile(fileName: string): string
toConsumer
- toConsumer(): undefined | SourceMapConsumer
Returns undefined | SourceMapConsumer
toObject
- toObject(): undefined | RawSourceMap
Returns undefined | RawSourceMap
toString
- toString(): undefined | string
Returns undefined | string