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
To ensure both parties see this, we wrote this in-depth here: postcss/postcss-nested#139. However, for the sake of continuity I have pasted the same contents below in case this is an issue with postcss-extend-rule:
Note: A suggested from css-nested was to migrate postcss-extend-rule to PostCSS 8.
Our team have been having issues recently after updating all of our dependencies to the latest versions (except for Gulp).
The primary issue we are facing is whilst using postcss-extend-rule (and similar issues with alternative postcss-extend) coupled with the latest version of postcss-nested. The issue causes the @extend rule to not compile properly when nested and across various files. As such, we find div { @extend .example; } in our compiled CSS.
After spending a lot of time switching versions back-and-forth for every single dependency, we located the specific dependency and release that is causing issues.
And that is postcss-nested, release 5.0.0 and newer. When we use 4.2.3 or older, it runs a dream.
We would love some help locating the issue that started in postcss-nested version 5.0.0 (5.0.6 is the latest), that is causing these issues, so that we can take advantage of the latest versions of every dependency.
Thank you for your help!
The text was updated successfully, but these errors were encountered:
Hello,
To ensure both parties see this, we wrote this in-depth here: postcss/postcss-nested#139. However, for the sake of continuity I have pasted the same contents below in case this is an issue with
postcss-extend-rule
:Note: A suggested from
css-nested
was to migratepostcss-extend-rule
to PostCSS 8.Our team have been having issues recently after updating all of our dependencies to the latest versions (except for Gulp).
The primary issue we are facing is whilst using
postcss-extend-rule
(and similar issues with alternativepostcss-extend
) coupled with the latest version ofpostcss-nested
. The issue causes the @extend rule to not compile properly when nested and across various files. As such, we finddiv { @extend .example; }
in our compiled CSS.After spending a lot of time switching versions back-and-forth for every single dependency, we located the specific dependency and release that is causing issues.
And that is
postcss-nested
, release5.0.0
and newer. When we use4.2.3
or older, it runs a dream.Our latest
package.json
(working) file:We are using Gulp. Here is a preview of the related task:
We would love some help locating the issue that started in
postcss-nested
version5.0.0
(5.0.6 is the latest), that is causing these issues, so that we can take advantage of the latest versions of every dependency.Thank you for your help!
The text was updated successfully, but these errors were encountered: