postcss/postcss-mixins

problems with image paths in mixins

muhandis86 opened this issue · 2 comments

I updated the postsss-mixin dependency from version 6.2.0 to 9.0.4, after which the compilation of background paths in mixins occurs incorrectly, i.e. in url. What happens is that where the $(image) variable is expanded in mixins, after the first parenthesis is encountered, a quote is placed before the closing parenthesis, so the path is not fully resolved.

111

package.json and _mixin.css:

222

with postcss-mixins 6.2.0 works without problems

ai commented

The problem was with postcss-cachebuster which was not updated to PostCSS 8