Skip to content

Commit

Permalink
style: add line break
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Dec 17, 2022
1 parent b8b4fdb commit 3cb1219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ function isTextMime(mimeType: string) {
return /text|javascript|json|xml/.test(mimeType);
}

const COMPRESSIBLE_MIMES_RE = /atom|css|eot|htc|html|ico|js|json|mjs|otf|rss|svg|text|ttf|webmanifest|xml/;
const COMPRESSIBLE_MIMES_RE =
/atom|css|eot|htc|html|ico|js|json|mjs|otf|rss|svg|text|ttf|webmanifest|xml/;

function isCompressableMime(mimeType: string) {
return COMPRESSIBLE_MIMES_RE.test(mimeType);
Expand Down

0 comments on commit 3cb1219

Please sign in to comment.