diff --git a/framework/core/src/Frontend/Compiler/JsCompiler.php b/framework/core/src/Frontend/Compiler/JsCompiler.php index 1549ecc61..fe4760249 100644 --- a/framework/core/src/Frontend/Compiler/JsCompiler.php +++ b/framework/core/src/Frontend/Compiler/JsCompiler.php @@ -65,7 +65,7 @@ class JsCompiler extends RevisionCompiler */ protected function format(string $string): string { - return preg_replace('~//# sourceMappingURL.*$~m', '', $string).";\n"; + return preg_replace('~//# sourceMappingURL.*$~m', '', $string)."\n"; } /**