astro-compress
Version:
22 lines (21 loc) • 542 B
TypeScript
import type { CustomAtRules, TransformOptions } from "lightningcss";
/**
* @module CSS
*
*/
export default interface Interface extends Omit<TransformOptions<CustomAtRules>, "filename" | "code" | "unusedSymbols"> {
/**
* Whether to enable minification
*
* @default Compress true
* @default lightningcss false
*/
minify?: boolean;
/**
* Whether to remove unused selectors or keywords.
*
* @default Compress []
* @default lightningcss undefined
*/
unusedSymbols?: string[];
}