3.0.0 (2022-03-26)
- trigger breaking change
- update semantic release config (8d04b25)
- BREAKING: rewrite library
- Move generation of new class names to a public function (
getNewClassName(className)
)
- ADD
ignorePrefix
andtrimIgnorePrefix
options to omit classes from being replaced - OPTIMIZE performance for #htmlStream()
- FIX HTML RegExp (was too greedy)
- FIX #2: htmlStream() only working on attributes with multiple classes
- ADD
html
command
- FIX #1: Exclude comments from CSS RegExp
Thanks to revo from StackOverflow
- ADD ability to import existing mappings
- ADD html stream to replace class names with mappings