kjelsrud.dev/node_modules/astro/dist/vite-plugin-astro/compile.d.ts
2023-07-19 21:31:30 +02:00

12 lines
529 B
TypeScript

import { type ESBuildTransformResult } from 'vite';
import { type CompileProps, type CompileResult } from '../core/compile/index.js';
import type { LogOptions } from '../core/logger/core.js';
interface CachedFullCompilation {
compileProps: CompileProps;
logging: LogOptions;
}
interface FullCompileResult extends Omit<CompileResult, 'map'> {
map: ESBuildTransformResult['map'];
}
export declare function cachedFullCompilation({ compileProps, logging, }: CachedFullCompilation): Promise<FullCompileResult>;
export {};