Skip to content

Commit 1270f1f

Browse files
authored
Merge pull request #49 from mindmind/patch-1
Update README.md
2 parents a5cc491 + dcbba1b commit 1270f1f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -704,9 +704,9 @@ Globally replace the default svelte scoping by the cssModules scoping. As a resu
704704
// Preprocess config
705705
...
706706
preprocess: [
707-
cssModules([
707+
cssModules({
708708
useAsDefaultScoping: true
709-
]),
709+
}),
710710
],
711711
...
712712
```
@@ -735,10 +735,10 @@ To prevent any scoping conflict, it is recommended to associate the option `useA
735735
// Preprocess config
736736
...
737737
preprocess: [
738-
cssModules([
738+
cssModules({
739739
useAsDefaultScoping: true,
740740
includePaths: ['./src'],
741-
]),
741+
}),
742742
],
743743
...
744744
```
@@ -751,9 +751,9 @@ If you want to migrate an existing project to `v2` keeping the approach of the 1
751751
// Preprocess config
752752
...
753753
preprocess: [
754-
cssModules([
754+
cssModules({
755755
mode: 'mixed',
756-
]),
756+
}),
757757
],
758758
...
759759
```

0 commit comments

Comments
 (0)