-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate imports are resolved in the wrong order #211
Comments
Yeah it' s totally a regression. postcss-import v8 have a totally different algo implemented by @TrySound. See #169 (comment) |
I see. Sounds like resurrecting v7 might be a good idea. |
I ran into similar issues, with errors about undefined mixins. Reverting to v7 solved things. |
Should be fixed in #236. Let me know if otherwise. |
simonsmith
added a commit
to suitcss/preprocessor
that referenced
this issue
Nov 12, 2016
This is the result of a bug being fixed in postcss-import@8.1.3 postcss/postcss-import#211
giuseppeg
pushed a commit
to suitcss/preprocessor
that referenced
this issue
Nov 12, 2016
This is the result of a bug being fixed in postcss-import@8.1.3 postcss/postcss-import#211
mlnmln
pushed a commit
to mlnmln/suit
that referenced
this issue
Dec 30, 2018
This is the result of a bug being fixed in postcss-import@8.1.3 postcss/postcss-import#211
This was referenced Feb 14, 2021
This was referenced Jun 23, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure if this title is accurate, feel free to rename.
Given two files:
componentA.css
index.css
I would expect that even though
components-button
is at the bottom inindex
it would see thatcomponentA
requires it as a dependency and would place the Button CSS above the ComponentA CSS in the final output. This does not happen:**output
If I install
postcss-import@7.1.3
and run the test again the output is as expected, withcomponents-button
first and the component code after it.Is this a regression perhaps?
Cheers
The text was updated successfully, but these errors were encountered: