@@ -192,7 +192,7 @@ type importFn =
192
192
media : string ,
193
193
resourcePath : string ,
194
194
supports ? : string ,
195
- layer ? : string
195
+ layer ? : string ,
196
196
) => boolean ;
197
197
};
198
198
```
@@ -315,7 +315,7 @@ type modules =
315
315
getLocalIdent: (
316
316
context : LoaderContext ,
317
317
localIdentName : string ,
318
- localName : string
318
+ localName : string ,
319
319
) => string ;
320
320
namedExport: boolean ;
321
321
exportGlobals: boolean ;
@@ -489,7 +489,10 @@ To import from multiple modules use multiple `composes:` rules.
489
489
490
490
``` css
491
491
:local(.className ) {
492
- composes : edit highlight from " ./edit.css" , button from " module/button.css" , classFromThisModule;
492
+ composes :
493
+ edit highlight from " ./edit.css" ,
494
+ button from " module/button.css" ,
495
+ classFromThisModule;
493
496
background : red ;
494
497
}
495
498
```
@@ -620,7 +623,7 @@ type auto =
620
623
| ((
621
624
resourcePath : string ,
622
625
resourceQuery : string ,
623
- resourceFragment : string
626
+ resourceFragment : string ,
624
627
) => boolean );
625
628
```
626
629
@@ -726,7 +729,7 @@ type mode =
726
729
| ((
727
730
resourcePath : string ,
728
731
resourceQuery : string ,
729
- resourceFragment : string
732
+ resourceFragment : string ,
730
733
) => " local" | " global" | " pure" | " icss" );
731
734
```
732
735
@@ -1094,7 +1097,7 @@ Type:
1094
1097
type getLocalIdent = (
1095
1098
context : LoaderContext ,
1096
1099
localIdentName : string ,
1097
- localName : string
1100
+ localName : string ,
1098
1101
) => string ;
1099
1102
```
1100
1103
@@ -1333,7 +1336,7 @@ module.exports = {
1333
1336
name .replace (/ -/ g , " _" ),
1334
1337
// dashesCamelCase
1335
1338
name .replace (/ -+ (\w )/ g , (match , firstLetter ) =>
1336
- firstLetter .toUpperCase ()
1339
+ firstLetter .toUpperCase (),
1337
1340
),
1338
1341
];
1339
1342
},
@@ -1770,7 +1773,8 @@ With the help of the `/* webpackIgnore: true */`comment, it is possible to disab
1770
1773
.class {
1771
1774
/* Disabled url handling for the second url in the 'background' declaration */
1772
1775
color : red ;
1773
- background : url (" ./url/img.png" ),
1776
+ background :
1777
+ url (" ./url/img.png" ),
1774
1778
/* webpackIgnore: true */ url (" ./url/img.png" );
1775
1779
}
1776
1780
@@ -1904,7 +1908,7 @@ module.exports = {
1904
1908
alias: {
1905
1909
" /assets/unresolved/img.png" : path .resolve (
1906
1910
__dirname ,
1907
- " assets/real-path-to-img/img.png"
1911
+ " assets/real-path-to-img/img.png" ,
1908
1912
),
1909
1913
},
1910
1914
},
0 commit comments