You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying a series of things that generate @supports statements as part of their compatibility, identical, adjacent @supports statements will be meaninglessly generated individually where they should be combined, at least in cases where they are adjacent. Additional analysis could probably support the combining of similar statements that are not adjacent.
I have encountered the behavior in my project. The behavior is easily viewable in the interactive playground as well.
I forgot to post an update here after the release, luckily you spotted it :)
romainmenke
changed the title
Large, Unnecessary Duplication of @supports Statements
Large, Unnecessary Duplication of @supports Statements
Feb 6, 2023
Bug description
When specifying a series of things that generate
@supports
statements as part of their compatibility, identical, adjacent@supports
statements will be meaninglessly generated individually where they should be combined, at least in cases where they are adjacent. Additional analysis could probably support the combining of similar statements that are not adjacent.I have encountered the behavior in my project. The behavior is easily viewable in the interactive playground as well.
Source CSS
Expected CSS
Actual CSS
Does it happen with
npx @csstools/csstools-cli <plugin-name> minimal-example.css
?N/A
Debug output
I do not know how to do this. The debug explainer link leads to out-of-date documentation.
Extra config
No response
What plugin are you experiencing this issue on?
PostCSS Env Function
Plugin version
8.0.1
What OS are you experiencing this on?
macOS
Node Version
17.0.1
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: