File tree 1 file changed +9
-6
lines changed 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -535,6 +535,7 @@ module.exports = {
535
535
namedExport: true ,
536
536
exportLocalsConvention: ' camelCase' ,
537
537
exportOnlyLocals: false ,
538
+ type: ' full' ,
538
539
},
539
540
},
540
541
},
@@ -1001,14 +1002,16 @@ module.exports = {
1001
1002
};
1002
1003
```
1003
1004
1004
- ### ` icss `
1005
+ ##### ` type `
1005
1006
1006
- Type: Boolean Default: ` true ` if ` modules ` are enabled, false otherwise
1007
+ Type: ` 'full' | 'icss' `
1008
+ Default: ` 'full' `
1007
1009
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.
1012
1015
1013
1016
** webpack.config.js**
1014
1017
You can’t perform that action at this time.
0 commit comments