Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Variables defined in imported CSS are not found #68

Closed
jdolle opened this issue Apr 19, 2017 · 1 comment
Closed

Variables defined in imported CSS are not found #68

jdolle opened this issue Apr 19, 2017 · 1 comment

Comments

@jdolle
Copy link

jdolle commented Apr 19, 2017

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
Copy link
Contributor

MoOx commented Apr 20, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants