Skip to content

Commit

Permalink
JS: fix bundling JS file separator, fixes #584
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Jun 17, 2023
1 parent fd4d341 commit 51deaa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minify/main.go
Original file line number Diff line number Diff line change
@@ -824,7 +824,7 @@ func minify(t Task) bool {
} else {
fr, err = newConcatFileReader(t.srcs, openInputFile)
if err == nil && fileMimetype == filetypeMime["js"] {
fr.(*concatFileReader).SetSeparator([]byte("\n"))
fr.(*concatFileReader).SetSeparator([]byte(";"))
}
}
if err != nil {

0 comments on commit 51deaa7

Please sign in to comment.