new SourceMap(payload)
payload
<Object>
创建新的 sourceMap
实例。
¥Creates a new sourceMap
instance.
payload
是一个对象,其键与 源映射 v3 格式 匹配:
¥payload
is an object with keys matching the Source map v3 format:
-
file
:<string> -
version
:<number> -
sources
:<string[]> -
sourcesContent
:<string[]> -
names
:<string[]> -
mappings
:<string> -
sourceRoot
:<string>
Node.js 中文网 - 粤ICP备13048890号