postcss-initial icon indicating copy to clipboard operation
postcss-initial copied to clipboard

The rule replaces keywords in normal url in background-image with initial value

Open JodoZT opened this issue 2 years ago • 1 comments

https://github.com/maximkoretskiy/postcss-initial/blob/8eaf8fbff8d2a263acc0e0c1ece84f8011217ae5/lib/rules-fabric.js#L70

For example I have the following rule:

.test {
    background-image: url("./initial-image/foo.png");
}

This will be replaced with:

.test {
    background-image: url("./none-image/foo.png");
}

This causes error.

JodoZT avatar Feb 01 '23 10:02 JodoZT

Hey! Thank you for posting. I can look into in a week or so. If you need fast solution please create a PR.

maximkoretskiy avatar Feb 03 '23 08:02 maximkoretskiy