JPeer264 / node-rename-css-selectors

📝 Rename css classes and id's in files
MIT License
65 stars 9 forks source link

Messes up with the `~` character #48

Closed atishay closed 4 years ago

atishay commented 4 years ago

When we have a css like this:

.test,
.test~.icon {
display: none;
}

In the mapping, it generates:

".test": "a",
".test~":, "b"
JPeer264 commented 4 years ago

Oh ya this is a bug indeed. I'm gonna fix this asap :)

JPeer264 commented 4 years ago

Should be fixed in v3.2.6 (ref: https://github.com/JPeer264/node-rcs-core/commit/09eb21b5a4d81c6a514655411bc551c61f6425ef)

JPeer264 commented 4 years ago

I had to reopen this issue, as I had to unpublish this version as it is flaky (ref: https://github.com/JPeer264/node-rename-css-selectors/pull/44#issuecomment-558426080). I am very sorry about this, but I hope this is fixed asap :)

JPeer264 commented 4 years ago

Fixed in v3.2.8