-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I have following files:
src/my.css
@import "vars.css";
* {
color: $my-color;
}
src/vars.css
$my-color: red;
and index.css
@import './src/*.css';
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.
Metadata
Metadata
Assignees
Labels
No labels