Skip to content

Commit 3ab3653

Browse files
committed
fix readme
1 parent d731679 commit 3ab3653

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ esbuild.build({
5858

5959
v2: true, // experimental. v2 can bundle images in css, note if set `v2` to true, other options except `inject` will be ignored. and v2 only works with `bundle: true`.
6060
v2CssModulesOption: { // Optional.
61-
dashedIndents: boolean; // Optional. refer to: https://github.com/parcel-bundler/parcel-css/releases/tag/v1.9.0
61+
dashedIndents: false, // Optional. refer to: https://github.com/parcel-bundler/parcel-css/releases/tag/v1.9.0
6262
/**
6363
* Optional. The currently supported segments are:
6464
* [name] - the base name of the CSS file, without the extension
6565
* [hash] - a hash of the full file path
6666
* [local] - the original class name
6767
*/
68-
pattern: string;
68+
pattern: `custom-prefix_[local]_[hash]`
6969
}
7070
})
7171
]

0 commit comments

Comments
 (0)