Skip to content

Commit

Permalink
style: add semi
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Dec 17, 2022
1 parent dab3822 commit b8b4fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ 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 b8b4fdb

Please sign in to comment.