output.cssModuleLocalIdentName

  • Type: string
  • Default:
// 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.