mangle-css-class-webpack-plugin
Advanced tools
Comparing version 5.0.7 to 5.0.8
@@ -5,2 +5,4 @@ # Changelog | ||
### [5.0.8](https://github.com/sndyuk/mangle-css-class-webpack-plugin/compare/v5.0.7...v5.0.8) (2022-05-22) | ||
### [5.0.7](https://github.com/sndyuk/mangle-css-class-webpack-plugin/compare/v5.0.6...v5.0.7) (2022-01-05) | ||
@@ -7,0 +9,0 @@ |
@@ -24,3 +24,3 @@ const chalk = require('./chalk'); | ||
} else if (file.match(/.+\.js.*$/) || file.match(/.+\.html.*$/)) { | ||
classnameRegex = new RegExp(`["'.\\\s](${opts.classNameRegExp})`, 'g'); | ||
classnameRegex = new RegExp(`["'\`.\\\s](${opts.classNameRegExp})`, 'g'); | ||
} | ||
@@ -27,0 +27,0 @@ if (!classnameRegex) { |
{ | ||
"name": "mangle-css-class-webpack-plugin", | ||
"version": "5.0.7", | ||
"version": "5.0.8", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Minifies and obfuscates the class names in your existing JavaScript, CSS, and HTML without any modern css modules.", |
13807