@lwc/style-compiler
Version:
Transform style sheet to be consumed by the LWC engine
17 lines (16 loc) • 533 B
TypeScript
export interface Config {
/** CSS custom properties configuration */
customProperties?: {
/** Disallow definition of CSS custom properties when set to false */
allowDefinition?: boolean;
/** Name of the module to resolve custom properties lookup */
resolverModule?: string;
};
outputConfig?: {
/** Apply minification to the generated code */
minify?: boolean;
};
}
export declare function transform(src: string, id: string, config?: Config): {
code: string;
};