@lwc/style-compiler
Version:
Transform style sheet to be consumed by the LWC engine
12 lines • 630 B
TypeScript
import type { Root } from 'postcss-selector-parser';
import type { StyleCompilerCtx } from '../utils/error-recovery';
export interface SelectorScopingConfig {
/** When set to true, the :host selector gets replace with the the scoping token. */
transformHost: boolean;
/** When set to true, the synthetic shadow support is disabled. */
disableSyntheticShadowSupport: boolean;
/** When set to true, the selector is scoped. */
scoped: boolean;
}
export default function transformSelector(root: Root, transformConfig: SelectorScopingConfig, ctx: StyleCompilerCtx): void;
//# sourceMappingURL=transform.d.ts.map