Przeglądaj źródła

remove empty comments

Gildas 5 lat temu
rodzic
commit
f60c18f4dc
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -2031,7 +2031,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 		}
 
 		static removeCssComments(stylesheetContent) {
-			return stylesheetContent.replace(/\/\*(.|\s)+?\*\//g, "");
+			return stylesheetContent.replace(/\/\*(.|\s)*?\*\//g, "");
 		}
 
 		static wrapMediaQuery(stylesheetContent, mediaQuery) {