12 lines
540 B
TypeScript
12 lines
540 B
TypeScript
import { TransformResult } from 'vite';
|
|
import { R as RawSourceMap } from './types-fc7e68bc.js';
|
|
|
|
interface InstallSourceMapSupportOptions {
|
|
getSourceMap: (source: string) => RawSourceMap | null | undefined;
|
|
}
|
|
declare function withInlineSourcemap(result: TransformResult): Promise<TransformResult>;
|
|
declare function extractSourceMap(code: string): RawSourceMap | null;
|
|
declare function installSourcemapsSupport(options: InstallSourceMapSupportOptions): void;
|
|
|
|
export { extractSourceMap, installSourcemapsSupport, withInlineSourcemap };
|