Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CSSModulesOptions

Index

Properties

exportGlobals?: boolean
generateScopedName?: string | ((name: string, filename: string, css: string) => string)
globalModulePaths?: RegExp[]
hashPrefix?: string
localsConvention?: "camelCase" | "camelCaseOnly" | "dashes" | "dashesOnly" | ((originalClassName: string, generatedClassName: string, inputFile: string) => string)

default: undefined

scopeBehaviour?: "global" | "local"

Methods

  • getJSON(cssFileName: string, json: Record<string, string>, outputFileName: string): void
  • Parameters

    • cssFileName: string
    • json: Record<string, string>
    • outputFileName: string

    Returns void