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
html { a_value: some-value; } is not local - and therefore css-modules/postcss-modules-local-by-default marks them as not pure.
However if only local selectors are inside that non local selector, it is still fine as all declarations are wrapped by a local selector.
The following examples are pure:
Especially the second case will be tricky to implement in the current code as by now only the selectors are analyzed to find out wether the code is pure or not.
In future we would have to iterate over every declaration and check for its surrounding selector wether it is pure or not.
The text was updated successfully, but these errors were encountered:
html { a_value: some-value; }
is not local - and thereforecss-modules/postcss-modules-local-by-default
marks them as not pure.However if only local selectors are inside that non local selector, it is still fine as all declarations are wrapped by a local selector.
The following examples are pure:
As soon as a non local declaration gets added it still be marked as non pure.
The following examples are NOT pure:
Especially the second case will be tricky to implement in the current code as by now only the selectors are analyzed to find out wether the code is pure or not.
In future we would have to iterate over every declaration and check for its surrounding selector wether it is pure or not.
The text was updated successfully, but these errors were encountered: