Bugfixes
- Fixed issue with common paths not being resolved properly by @import parser
Bugfixes
- Fixed issue with 2.1.0 release being irrevocably out of sync with npm version
New features
- Return of @import capabilities with in-plugin logic
New features
- Total rewrite to utilize current PostCSS API (8.4.17)
Breaking changes
- removing support for
selector:references(ref)
remapping
Notes
- postcss-import and postcss-nested may work but are not yet tested
New features
- Introduction of
@references-media
AtRule for cross-query matching - Implementation of
:references()
pseudoclass, mimicking LESS's :extend() functionality
Fixed
- bug where comma separated references weren't being properly caught if the scope was "all" and the referenced rule was in a media query, but the requesting rule was not
Further updates as I realize npm's description heading has a character limit
Updating docs and package descriptions
First official release brings
- the ability to define and import styles for reuse and referencing across a style sheet.
- the ability to set an 'all' flag to match relative selectors (i.e.
@references th all;
will match 'th', 'th > h1', etc., but not 'thead' or 'table th'), pseudo-classes, and media-queries, and - match rules from the same media query, or with the 'all' flag set allow a non-media-query wrapped selector reference every media query the selector might have a match in.