14 releases
0.0.14 | Jun 17, 2024 |
---|---|
0.0.13 | Jun 12, 2024 |
0.0.10 | May 24, 2024 |
0.0.1 | Apr 15, 2024 |
#1612 in Web programming
888 downloads per month
Used in 3 crates
(via rspack_plugin_css)
115KB
3K
SLoC
css-module-lexer
Lexes CSS modules returning their dependencies metadata.
- Blazing fast: no parsing, no AST creation, only lexing, minimal heap allocation.
- Error tolerant: uninterrupted by bad syntax, no errors, only warnings.
- Syntax rich: supports CSS, iCSS, and CSS Modules.
Dependencies
- CSS:
- @import
- url(), image-set()
- iCSS
- :import
- :export
- CSS Modules
- :local, :local(), :global, :global()
- local .class, local #id
- local scope by default
- composes
- nesting
- local @keyframe
- local var()
- local @property
- local @counter-style
- local @font-palette-values
- local grid
- @values