On this page

Generator options for css/module modules.

Type:boolean

Configure the generated JS modules that use the ES modules syntax.

Type:"camel-case" | "camel-case-only" | "dashes" | "dashes-only" | "as-is" | ((name: string) => string | string[])

Specifies the convention of exported names.

Type:boolean

Avoid generating and loading a stylesheet and only embed exports from css into output javascript files.

Type:"link" | "text" | "css-style-sheet" | "style"

Configure how CSS content is exported as default.

Type:string

Digest types used for the hash.

Type:number

Number of chars which are used for the hash.

Type:string | typeof Hash

Algorithm used for generation the hash (see node.js crypto package).

Type:string

Any string which is added to the hash to salt it.

Configure the generated local ident name.