@@ -97,17 +97,18 @@ const b = styles['my_other-class'];
97
97
98
98
Please note that no options are required. However, depending on your configuration, you may need to customise these options.
99
99
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. |
111
112
112
113
``` json
113
114
{
@@ -195,7 +196,7 @@ The `classes` object represents all the classnames extracted from the CSS Module
195
196
196
197
#### ` goToDefinition `
197
198
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).
199
200
200
201
This is experimental, and only works with Sass (for now) and may not always work as expected.
201
202
0 commit comments