Gildas 5 лет назад
Родитель
Сommit
f60c18f4dc
1 измененных файлов с 1 добавлено и 1 удалено
  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) {