You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
607 B
15 lines
607 B
1 month ago
|
import { TransformResult } from 'vite';
|
||
|
import { E as EncodedSourceMap } from './trace-mapping.d-DLVdEqOp.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 };
|