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 I run postcss index.css I get following result:
* {
color: $my-color;
}
$my-color: red;
If I change the name of vars.css file to something like avars.css (which comes before my.css alphabetically) or if I use specific path in index.css instead of glob everything works as expected and the result is:
$my-color: red;
* {
color: $my-color;
}
I think it is a bug and dependencies resolution shouldn't be broken by using globs.
The text was updated successfully, but these errors were encountered:
I thought that glob pattern resolution works by first obtaining all files matching pattern and then processing them through usual resolution algorithm.
I have following files:
src/my.css
src/vars.css
and index.css
When I run
postcss index.css
I get following result:If I change the name of vars.css file to something like avars.css (which comes before my.css alphabetically) or if I use specific path in index.css instead of glob everything works as expected and the result is:
I think it is a bug and dependencies resolution shouldn't be broken by using globs.
The text was updated successfully, but these errors were encountered: