KC's Workspace
Github
Preparing search index...
@kcconfigs/vitest
<internal>
CSSModulesOptions
Interface CSSModulesOptions
interface
CSSModulesOptions
{
exportGlobals
?:
boolean
;
generateScopedName
?:
|
string
|
(
(
name
:
string
,
filename
:
string
,
css
:
string
)
=>
string
)
;
getJSON
?:
(
cssFileName
:
string
,
json
:
Record
<
string
,
string
>
,
outputFileName
:
string
,
)
=>
void
;
globalModulePaths
?:
RegExp
[]
;
hashPrefix
?:
string
;
localsConvention
?:
|
"camelCase"
|
"camelCaseOnly"
|
"dashes"
|
"dashesOnly"
|
(
(
originalClassName
:
string
,
generatedClassName
:
string
,
inputFile
:
string
,
)
=>
string
)
;
scopeBehaviour
?:
"global"
|
"local"
;
}
Index
Properties
export
Globals?
generate
Scoped
Name?
get
JSON?
global
Module
Paths?
hash
Prefix?
locals
Convention?
scope
Behaviour?
Properties
Optional
export
Globals
exportGlobals
?:
boolean
Optional
generate
Scoped
Name
generateScopedName
?:
|
string
|
(
(
name
:
string
,
filename
:
string
,
css
:
string
)
=>
string
)
Optional
get
JSON
getJSON
?:
(
cssFileName
:
string
,
json
:
Record
<
string
,
string
>
,
outputFileName
:
string
,
)
=>
void
Optional
global
Module
Paths
globalModulePaths
?:
RegExp
[]
Optional
hash
Prefix
hashPrefix
?:
string
Optional
locals
Convention
localsConvention
?:
|
"camelCase"
|
"camelCaseOnly"
|
"dashes"
|
"dashesOnly"
|
(
(
originalClassName
:
string
,
generatedClassName
:
string
,
inputFile
:
string
,
)
=>
string
)
default: undefined
Optional
scope
Behaviour
scopeBehaviour
?:
"global"
|
"local"
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
On This Page
Properties
export
Globals
generate
Scoped
Name
get
JSON
global
Module
Paths
hash
Prefix
locals
Convention
scope
Behaviour
Github
KC's Workspace
Loading...
default: undefined