---
title: cssModuleLocalIdentName
---

# output.cssModuleLocalIdentName

- **Type:** `string`
- **Default:**

```ts
// isProd indicates that the production build
const localIdentName = isProd
  ? '[local]-[hash:base64:6]'
  : '[path][name]__[local]-[hash:base64:6]';
```

Sets the format of the className generated by CSS Modules after compilation.

:::warning
**Deprecated**: This configuration is deprecated, please use the `cssModules.localIdentName` instead.
:::
