site/node_modules/esbuild-sass-plugin/lib/render.d.ts
2024-10-14 08:09:33 +02:00

10 lines
368 B
TypeScript

import { PartialMessage } from 'esbuild';
import { SassPluginOptions } from './index';
export type RenderSync = (path: string) => RenderResult;
export type RenderResult = {
cssText: string;
watchFiles: string[];
warnings?: PartialMessage[];
};
export declare function createRenderer(options: SassPluginOptions | undefined, sourcemap: boolean): RenderSync;