Closed jednano closed 8 years ago
I think I can agree that it's better the new way, but the problem is that it introduces a breaking change and I was relying on the "bug" we had before.
Still, the image URL that's provided is relative to the css.source.input.file
, not the rule.source.input.file
. Are we sure this "fix" was really fixing anything?
Thanks for your feedback. PR #25 was reverted to workaround the bug with paths.
I'm certain that the offending PR is https://github.com/2createStudio/postcss-sprites/pull/25. I've already made a comment there.
Here is my input CSS:
I logged some info to the console around line 138.
Before (v2.0.1):
After (v2.0.2):
And here is my configuration:
Any ideas how to fix this? I've tried to be as thorough as possible here.