@@ -97,17 +97,18 @@ const b = styles['my_other-class'];
9797
9898Please note that no options are required. However, depending on your configuration, you may need to customise these options.
9999
100- | Option | Default value | Description |
101- | -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------ |
102- | ` classnameTransform ` | ` asIs ` | See [ ` classnameTransform ` ] ( #classnameTransform ) below. |
103- | ` customMatcher ` | ` "\\.module\\.(c\|le\|sa\|sc)ss$" ` | Changes the file extensions that this plugin processes. |
104- | ` customRenderer ` | ` false ` | See [ ` customRenderer ` ] ( #customRenderer ) below. |
105- | ` customTemplate ` | ` false ` | See [ ` customTemplate ` ] ( #customTemplate ) below. |
106- | ` goToDefinition ` | ` false ` | Enables jump to definition, with limited compatibility. See [ ` goToDefinition ` ] ( #goToDefinition ) below. |
107- | ` namedExports ` | ` true ` | Enables named exports for compatible classnames. |
108- | ` dotenvOptions ` | ` {} ` | Provides options for [ ` dotenv ` ] ( https://github.com/motdotla/dotenv#options ) . |
109- | ` postcssOptions ` | ` {} ` | See [ ` postcssOptions ` ] ( #postcssOptions ) below. |
110- | ` rendererOptions ` | ` {} ` | See [ ` rendererOptions ` ] ( #rendererOptions ) below. |
100+ | Option | Default value | Description |
101+ | -------------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------ |
102+ | ` classnameTransform ` | ` asIs ` | See [ ` classnameTransform ` ] ( #classnameTransform ) below. |
103+ | ` customMatcher ` | ` "\\.module\\.(c\|le\|sa\|sc)ss$" ` | Changes the file extensions that this plugin processes. |
104+ | ` customRenderer ` | ` false ` | See [ ` customRenderer ` ] ( #customRenderer ) below. |
105+ | ` customTemplate ` | ` false ` | See [ ` customTemplate ` ] ( #customTemplate ) below. |
106+ | ` goToDefinition ` | ` false ` | Enables jump to definition, with limited compatibility. See [ ` goToDefinition ` ] ( #goToDefinition ) below. |
107+ | ` noUncheckedIndexedAccess ` | ` false ` | Enable for compatibility with TypeScript's ` noUncheckedIndexedAccess ` . |
108+ | ` namedExports ` | ` true ` | Enables named exports for compatible classnames. |
109+ | ` dotenvOptions ` | ` {} ` | Provides options for [ ` dotenv ` ] ( https://github.com/motdotla/dotenv#options ) . |
110+ | ` postcssOptions ` | ` {} ` | See [ ` postcssOptions ` ] ( #postcssOptions ) below. |
111+ | ` rendererOptions ` | ` {} ` | See [ ` rendererOptions ` ] ( #rendererOptions ) below. |
111112
112113``` json
113114{
@@ -195,7 +196,7 @@ The `classes` object represents all the classnames extracted from the CSS Module
195196
196197#### ` goToDefinition `
197198
198- This allows an editor like Visual Studio Code to jump to a classname's definition (file and line).
199+ This allows an editor like Visual Studio Code to go to a classname's definition (file and line).
199200
200201This is experimental, and only works with Sass (for now) and may not always work as expected.
201202
0 commit comments