You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -398,6 +398,15 @@ You can also disable or enforce minification with the `minimize` query parameter
398
398
399
399
By default, the exported JSON keys mirror the class names. If you want to camelize class names (useful in JS), pass the query parameter `camelCase` to css-loader.
400
400
401
+
#### Possible Options
402
+
403
+
|Option|Behaviour|
404
+
|:----:|:--------|
405
+
|**`true`**|Class names will be camelized|
406
+
|**`'dashes'`**|Only dashes in class names will be camelized|
407
+
|**`'only'`**|Class names will be camelized, the original class name will be removed from the locals|
408
+
|**`'dashesOnly'`**|Dashes in class names will be camelized, the original class name will be removed from the locals|
409
+
401
410
**webpack.config.js**
402
411
```js
403
412
{
@@ -421,15 +430,6 @@ By default, the exported JSON keys mirror the class names. If you want to cameli
421
430
import { className } from'file.css';
422
431
```
423
432
424
-
#### Possible options
425
-
426
-
|Option|Behaviour|
427
-
|:----:|:--------|
428
-
|**`true`**|Class names will be camelized|
429
-
|**`'dashes'`**|Only dashes in class names will be camelized|
430
-
|**`'only'`**|Class names will be camelized, the original class name will be removed from the locals|
431
-
|**`'dashesOnly'`**|Dashes in class names will be camelized, the original class name will be removed from the locals|
0 commit comments