Expand description
CSS module exports.
CSS modules are a way of locally scoping names in a CSS file. This includes class names, ids, keyframe animation names, and any other places where the CustomIdent type is used.
CSS modules can be enabled using the css_modules
option when parsing a style sheet. When the
style sheet is printed, hashes will be added to any declared names, and references to those names
will be updated accordingly. A map of the original names to compiled (hashed) names will be returned.
Structs§
- Config
- Configuration for CSS modules.
- CssModule
Export - An exported value from a CSS module.
- Pattern
- A CSS modules class name pattern.
Enums§
- CssModule
Reference - A referenced name within a CSS module, e.g. via the
composes
property. - Pattern
Parse Error - An error that occurred while parsing a CSS modules name pattern.
- Segment
- A segment in a CSS modules class name pattern.
Type Aliases§
- CssModule
Exports - A map of exported names to values.
- CssModule
References - A map of placeholders to references.