Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | /// <amd-module name="@angular/compiler-cli/ngcc/src/rendering/source_maps" />
|
---|
2 | /**
|
---|
3 | * @license
|
---|
4 | * Copyright Google LLC All Rights Reserved.
|
---|
5 | *
|
---|
6 | * Use of this source code is governed by an MIT-style license that can be
|
---|
7 | * found in the LICENSE file at https://angular.io/license
|
---|
8 | */
|
---|
9 | import { SourceMapConverter } from 'convert-source-map';
|
---|
10 | import MagicString from 'magic-string';
|
---|
11 | import * as ts from 'typescript';
|
---|
12 | import { ReadonlyFileSystem } from '../../../src/ngtsc/file_system';
|
---|
13 | import { Logger } from '../../../src/ngtsc/logging';
|
---|
14 | import { FileToWrite } from './utils';
|
---|
15 | export interface SourceMapInfo {
|
---|
16 | source: string;
|
---|
17 | map: SourceMapConverter | null;
|
---|
18 | isInline: boolean;
|
---|
19 | }
|
---|
20 | /**
|
---|
21 | * Merge the input and output source-maps, replacing the source-map comment in the output file
|
---|
22 | * with an appropriate source-map comment pointing to the merged source-map.
|
---|
23 | */
|
---|
24 | export declare function renderSourceAndMap(logger: Logger, fs: ReadonlyFileSystem, sourceFile: ts.SourceFile, generatedMagicString: MagicString): FileToWrite[];
|
---|
Note:
See
TracBrowser
for help on using the repository browser.