JPeer264 / node-rcs-core

Rename css selectors across all files
MIT License
37 stars 7 forks source link

Last color without semicolon breaks next classname renaming #13

Closed klimashkin closed 7 years ago

klimashkin commented 7 years ago

I use rename-css-selectors after webpack with postss (and csswring) have finished their work.

So css goes to rcs-core in minify state, without last semicolon inside class body. And seems like it breaks renaming.

Here is minimal example:

.link{background:#616060}.tag{display:flex}

is transformed into

.t{background:#616060}.tag{display:flex}
JPeer264 commented 7 years ago

Thanks @klimashkin, that was a really good catch. I fixed that bug in v0.8.4