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
Can anyone point me to the right direction as to how to get my variables to be picked up and parsed by the import plugin? Any examples would be appreciated.
The text was updated successfully, but these errors were encountered:
Exact same problem as #80. You need to run the import plugin before the vars plugin. Everything that runs before the import plugin will only process the CSS before the imported files are inserted into those documents.
I think PostCSS doc should tell people to be careful about plugins order until they found a "magic" solution. poke @ai
I will add a note in the README.
I have question about using the postcss-import plugin with combination with simple vars plugin.
I have a set of files which I want to import to a main file. Here's an example structure.
I was expecting the output to parse the variables in
fileone.css
andfiletwo.css
and generate the end file like:but what i get in the end is:
So my variables are being ignore. My gulpfile looks like this:
Can anyone point me to the right direction as to how to get my variables to be picked up and parsed by the import plugin? Any examples would be appreciated.
The text was updated successfully, but these errors were encountered: