You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
781 B
14 lines
781 B
import { SourceMapTree } from './source-map-tree'; |
|
import type { SourceMapInput, SourceMapLoader } from './types'; |
|
/** |
|
* Recursively builds a tree structure out of sourcemap files, with each node |
|
* being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of |
|
* `OriginalSource`s and `SourceMapTree`s. |
|
* |
|
* Every sourcemap is composed of a collection of source files and mappings |
|
* into locations of those source files. When we generate a `SourceMapTree` for |
|
* the sourcemap, we attempt to load each source file's own sourcemap. If it |
|
* does not have an associated sourcemap, it is considered an original, |
|
* unmodified source file. |
|
*/ |
|
export default function buildSourceMapTree(input: SourceMapInput | SourceMapInput[], loader: SourceMapLoader): SourceMapTree;
|
|
|