diff --git a/cmd/minify/main.go b/cmd/minify/main.go index 64f2bcd8ad..a24d3659f0 100644 --- a/cmd/minify/main.go +++ b/cmd/minify/main.go @@ -845,7 +845,7 @@ func minify(t Task) bool { } else { fr, err = newConcatFileReader(t.srcs, openInputFile) if err == nil && fileMimetype == filetypeMime["js"] { - fr.(*concatFileReader).SetSeparator([]byte(";")) + fr.(*concatFileReader).SetSeparator([]byte(";\n")) } } if err != nil {