Closed EECOLOR closed 5 years ago
All transformations will be moving into https://github.com/csstools/postcss-custom-utils which was just bumped and published today. I would make this PR there.
I will, please also patch this library on a minor release so that we do not have to wait for postcss-preset-env to update their dependency
@jonathantneal I don't think this change will en up in the other repo. It seems this particular change has already been implemented in https://github.com/postcss/postcss-custom-properties/blob/update/postcss-tape/src/index.js#L17
In any case, please merge this and release a patch version.
@EECOLOR, that branch also has breaking changes. Your fix is a patch, and so I will merge it into a patch release branch I will make in the meantime.
Even if no
importFrom
was specified, the previous version (before this change) would re-use the same object. This causes 'sharing' of properties between different files. It also means that if two files declare the same variable with a different value, things can become quite tricky. This is made even more strange by having theawait
between property retrieval and application. We have situations where before theawait
a prop has one value and after theawait
another value.