source: trip-planner-front/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/**
2 * Copyright 2019 The AMP HTML Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16import SourceMapTree from './source-map-tree';
17import type { SourceMapInput, SourceMapLoader } from './types';
18/**
19 * Recursively builds a tree structure out of sourcemap files, with each node
20 * being either an `OriginalSource` "leaf" or a `SourceMapTree` composed of
21 * `OriginalSource`s and `SourceMapTree`s.
22 *
23 * Every sourcemap is composed of a collection of source files and mappings
24 * into locations of those source files. When we generate a `SourceMapTree` for
25 * the sourcemap, we attempt to load each source file's own sourcemap. If it
26 * does not have an associated sourcemap, it is considered an original,
27 * unmodified source file.
28 */
29export default function buildSourceMapTree(input: SourceMapInput | SourceMapInput[], loader: SourceMapLoader, relativeRoot?: string): SourceMapTree;
Note: See TracBrowser for help on using the repository browser.