Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/docs/en/guide/migration/modernjs-module.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ declare module '*.scss' {
}
```

## css-modules
## CSS Modules

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

```js title="rslib.config.ts"
import { defineConfig } from '@rslib/core';
Expand All @@ -159,7 +159,7 @@ export default defineConfig({
//...
output: {
cssModules: {
// the css-modules options are 1:1 the same as in the official "css-modules" package
// the CSS Modules options are 1:1 the same as in the official "css-modules" package
localIdentName: '[local]--[hash:base64:5]',
},
},
Expand Down
Loading