Skip to content

Commit 5e40f23

Browse files
committed
docs: readme
1 parent 6dedebc commit 5e40f23

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,7 @@ module.exports = {
535535
namedExport: true,
536536
exportLocalsConvention: 'camelCase',
537537
exportOnlyLocals: false,
538+
type: 'full',
538539
},
539540
},
540541
},
@@ -1001,14 +1002,16 @@ module.exports = {
10011002
};
10021003
```
10031004

1004-
### `icss`
1005+
##### `type`
10051006

1006-
Type: Boolean Default: `true` if `modules` are enabled, false otherwise
1007+
Type: `'full' | 'icss'`
1008+
Default: `'full'`
10071009

1008-
Enables/disables handling of the low level "Interoperable CSS" format for declaring
1009-
import and export dependencies between CSS and other languages. ICSS enables
1010-
CSS Module support, and is enabled automatically when `modules` are enabled. It
1011-
can also be enabled independently to allow other loaders to handle processing CSS modules.
1010+
Controls the level of compilation applied to the input styles. `'full'` handles class and id scoping and
1011+
`@value` values. `'icss'` will only compile the low level "Interoperable CSS" format for declaring
1012+
import and export dependencies between CSS and other languages. ICSS underpins
1013+
CSS Module support, and provides a low level syntax for other tools to
1014+
implement CSS-module variations of their own.
10121015

10131016
**webpack.config.js**
10141017

0 commit comments

Comments
 (0)