interface CSSModulesConfig {
    dashedIdents?: boolean;
    pattern?: string;
}

Properties

dashedIdents?: boolean

Whether to rename dashed identifiers, e.g. custom properties.

pattern?: string

The pattern to use when renaming class names and other identifiers. Default is [hash]_[local].