Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jquense committed Jul 31, 2020
1 parent 6dedebc commit e70e73b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ module.exports = {
namedExport: true,
exportLocalsConvention: 'camelCase',
exportOnlyLocals: false,
type: 'full',
},
},
},
Expand Down Expand Up @@ -1001,14 +1002,16 @@ module.exports = {
};
```

### `icss`
##### `icss`

Type: Boolean Default: `true` if `modules` are enabled, false otherwise
Type: `'full' | 'icss'`
Default: `'full'`

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

**webpack.config.js**

Expand Down

0 comments on commit e70e73b

Please sign in to comment.