diff --git a/src/templates/AssetMinifier.php b/src/templates/AssetMinifier.php index f74ff32..6c4dcfa 100644 --- a/src/templates/AssetMinifier.php +++ b/src/templates/AssetMinifier.php @@ -71,7 +71,10 @@ class AssetMinifier public static function minifyJS(string $js): string { // Remove single-line comments but preserve URLs (https://, http://) - // Only remove comments that start at the beginning of a line or after whitespace + // The negative lookbehind (?