Skip to content

Commit

Permalink
bin/release: upload .map files to release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Jul 15, 2024
1 parent 90c1006 commit b29b663
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ class Release

def content_type(pathname)
case pathname.extname
when ".js" then "application/javascript"
when ".css" then "text/css"
when ".js" then "application/javascript"
when ".map" then "application/json"
end
end

Expand Down

0 comments on commit b29b663

Please sign in to comment.