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
The postcss-custom-properties plugin sets fallbacks for properties that use native CSS custom properties. Unfortunately, I noticed cssnano was stripping these fallbacks out, and I traced it back to the mergeLonghand plugin.
Here's an example of what postcss-custom-properties does that gets stripped by mergeLonghand:
But since cssnano sees two padding declarations, it tries to combine them to a single, longhand version. However, when doing that the fallback is lost.
The text was updated successfully, but these errors were encountered:
The postcss-custom-properties plugin sets fallbacks for properties that use native CSS custom properties. Unfortunately, I noticed cssnano was stripping these fallbacks out, and I traced it back to the mergeLonghand plugin.
Here's an example of what
postcss-custom-properties
does that gets stripped by mergeLonghand:But since cssnano sees two
padding
declarations, it tries to combine them to a single, longhand version. However, when doing that the fallback is lost.The text was updated successfully, but these errors were encountered: