new SourceMap(payload[, { lineLengths }])


创建新的 sourceMap 实例。

¥Creates a new sourceMap instance.

payload 是一个对象,其键与 源映射 v3 格式 匹配:

¥payload is an object with keys matching the Source map v3 format:

lineLengths 是生成代码中每行长度的可选数组。

¥lineLengths is an optional array of the length of each line in the generated code.