1 | import { SourceMapOptions } from "./index";
|
2 | export interface RawSourceMap {
|
3 | version: number;
|
4 | file: string;
|
5 | sources: Array<string>;
|
6 | sourceRoot?: string;
|
7 | sourcesContent?: Array<string>;
|
8 | mappings: string;
|
9 | names: Array<string>;
|
10 | }
|
11 | /**
|
12 | * Generate a simple source map indicating that each line maps directly to the original line.
|
13 | */
|
14 | export default function computeSourceMap(code: string, filePath: string, { compiledFilename }: SourceMapOptions): RawSourceMap;
|