Skip to content

Commit 567c514

Browse files
authored
docs: update css-modules to CSS Modules (#422)
1 parent 2d9b75e commit 567c514

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/en/guide/migration/modernjs-module.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ declare module '*.scss' {
145145
}
146146
```
147147

148-
## css-modules
148+
## CSS Modules
149149

150-
If you use css-modules in your `Modern.js Module`, add the following changes:
150+
If you use CSS Modules in your `Modern.js Module`, add the following changes:
151151

152152
```js title="rslib.config.ts"
153153
import { defineConfig } from '@rslib/core';
@@ -159,7 +159,7 @@ export default defineConfig({
159159
//...
160160
output: {
161161
cssModules: {
162-
// the css-modules options are 1:1 the same as in the official "css-modules" package
162+
// the CSS Modules options are 1:1 the same as in the official "css-modules" package
163163
localIdentName: '[local]--[hash:base64:5]',
164164
},
165165
},

0 commit comments

Comments
 (0)