import { TerserOptions } from "vite"; import { LoggerConfig } from "@xcons/common"; import { ProcessorFunction } from "./process-options"; /** * Sass compiler options (subset of sass.Options) */ export interface SassOptions { loadPaths?: string[]; charset?: boolean; quietDeps?: boolean; verbose?: boolean; sourceMap?: boolean; sourceMapIncludeSources?: boolean; } /** * Main plugin options interface */ export interface XConVitePluginOptions { minifyTemplates?: boolean; minifyStyles?: boolean; removeComments?: boolean; watchFiles?: boolean; preserveWhitespace?: boolean; compileSass?: boolean; sassOptions?: SassOptions; resourceBaseUrl?: string; processResources?: boolean; showProcessedFiles?: boolean; logger?: Partial & { logLevel?: 'debug' | 'info' | 'warn' | 'error' | 'silent'; }; fileExtensions?: string[]; templateExtensions?: string[]; styleExtensions?: string[]; useTerser?: boolean; terserOptions?: TerserOptions; customProcessors?: ProcessorFunction[]; excludeFiles?: string[]; includeFiles?: string[]; development?: boolean; sourceMap?: boolean; } /** * Create default options with automatic SCSS configuration */ export declare function createDefaultOptions(userOptions?: XConVitePluginOptions): Required; //# sourceMappingURL=plugin-options.d.ts.map