> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Type Alias: CssModuleLocalsConvention

> **CssModuleLocalsConvention** = `"asIs"` | `"camelCase"` | `"camelCaseOnly"` | `"dashes"` | `"dashesOnly"`

The style of exported class names.

## Remarks

Given the various `exportLocalsConvention` values, the behavior is described as follows:

- `'asIs'`:	Class names will be exported as is.

- `'camelCase'`: Class names will be camelized, the original class name will not to be removed from the locals

- `'camelCaseOnly'`: Class names will be camelized, the original class name will be removed from the locals

- `'dashes'`: Only dashes in class names will be camelized

- `'dashesOnly'`: Dashes in class names will be camelized, the original class name will be removed from the locals

See [css-loader#exportLocalsConvention](https://github.com/webpack-contrib/css-loader?tab=readme-ov-file#exportlocalsconvention) for details.
