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
Both selectors should be global selectors considering that's how they both reduce down when using postcss-nested, but somehow the one with block-scoped :global incorrectly becomes a local.
I'm not quite sure why - when disabling postcss-modules-local-by-default and inspecting the result AST when only postcss-nested is used, both nodes appear to be identically structured... but maybe I'm missing some PostCSS subtlety here.
The text was updated successfully, but these errors were encountered:
Test case (all dependencies at latest):
Output when run as-is:
Output when uncommenting (ie. enabling)
postcss-modules-local-by-default
:Both selectors should be global selectors considering that's how they both reduce down when using
postcss-nested
, but somehow the one with block-scoped:global
incorrectly becomes a local.I'm not quite sure why - when disabling
postcss-modules-local-by-default
and inspecting the result AST when onlypostcss-nested
is used, both nodes appear to be identically structured... but maybe I'm missing some PostCSS subtlety here.The text was updated successfully, but these errors were encountered: