Skip to content

Commit 8f37de3

Browse files
committed
Add docs with messages
1 parent 8bf7d70 commit 8f37de3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ In global mode
7070
Converts every new local name in #id or .class defintion to global alias.
7171
By default returns `[name]__[local]---[hash:base64:5]`.
7272

73+
### Messages
74+
75+
postcss-icss-selectors passes result.messages for each local-scoped class or id
76+
77+
```
78+
{
79+
plugin: 'postcss-icss-selectors',
80+
type: 'icss-scoped',
81+
name: string, // local-scoped identifier
82+
value: string // generated global identifier
83+
}
84+
```
7385

7486
## License
7587

0 commit comments

Comments
 (0)