Skip to content
Permalink
Browse files

Fix: Include `application/javascript` in recognized mime types

Ref #2067
  • Loading branch information...
antross committed Mar 15, 2019
1 parent e25706f commit 7ed5d1ed727d4818af46c53b43d0c43a3bb80086
Showing with 1 addition and 0 deletions.
  1. +1 −0 packages/hint/src/lib/utils/content-type.ts
@@ -449,6 +449,7 @@ const getType = (mediaType: string) => {
}

switch (mediaType) {
case 'application/javascript':
case 'text/javascript':
return 'script';
case 'text/css':

0 comments on commit 7ed5d1e

Please sign in to comment.
You can’t perform that action at this time.