docs: css.modules.localsConvention is null by default, fix #5650 (#5864)

This commit is contained in:
Jeff Yang 2021-11-27 22:46:55 +06:30 committed by GitHub
parent 7bf9f65286
commit 8a8b296a12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,9 +236,9 @@ export default defineConfig(async ({ command, mode }) => {
| ((name: string, filename: string, css: string) => string)
hashPrefix?: string
/**
* default: 'camelCaseOnly'
* default: null
*/
localsConvention?: 'camelCase' | 'camelCaseOnly' | 'dashes' | 'dashesOnly'
localsConvention?: 'camelCase' | 'camelCaseOnly' | 'dashes' | 'dashesOnly' | null
}
```