site/node_modules/esbuild-sass-plugin/lib/render.d.ts

10 lines
368 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
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;