File size: 607 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { TransformResult } from 'vite';
import { E as EncodedSourceMap } from './trace-mapping.d-xyIfZtPm.js';

interface InstallSourceMapSupportOptions {
    getSourceMap: (source: string) => EncodedSourceMap | null | undefined;
}
declare function withInlineSourcemap(result: TransformResult, options: {
    root: string;
    filepath: string;
}): TransformResult;
declare function extractSourceMap(code: string): EncodedSourceMap | null;
declare function installSourcemapsSupport(options: InstallSourceMapSupportOptions): void;

export { extractSourceMap, installSourcemapsSupport, withInlineSourcemap };