css-modules / postcss-icss-values

Pass arbitrary constants between your module files
MIT License
203 stars 18 forks source link

importing value from relative path #99

Closed coot closed 7 years ago

coot commented 7 years ago

If I import from the same directory everything works fine, but if I import from a parent directory things do not work:

@value parentValue from "../colors.css";
@value aValue from "./a.css";

.title {
  color: parentValue;
  background: aValue;
}

The color property will not be set. I use css-modulesify which is currently using postcss-5.1.2.

TrySound commented 7 years ago

It'e the problem with css-modulesify. Report there please.