postcss / postcss-custom-properties

Use Custom Properties in CSS
https://postcss.github.io/postcss-custom-properties
MIT License
596 stars 77 forks source link

Variables defined in imported CSS are not found #68

Closed jdolle closed 7 years ago

jdolle commented 7 years ago

Without inlining imports, variables defined in another file then @imported are considered undefined.

I want to use css-loader's modules, @import a file that defines my variables, then use those variables in a variety of modules. Currently my compiled css is correct, but I see warnings for my variables ___ is undefined and used without a fallback.

MoOx commented 7 years ago

Sorry no magic possible. This module won't process import and duplicate the job done by postcss-import.