Home > @lynx-js/rspeedy > CssLoaderModules > exportLocalsConvention

CssLoaderModules.exportLocalsConvention property

The style of exported class names.

Signature:

exportLocalsConvention?: CssModuleLocalsConvention | undefined;

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 for details.

除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。