Skip to content

Commit

Permalink
Update assets.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
okliv authored Oct 3, 2024
1 parent 7ad42ae commit 2b91856
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/roda/plugins/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ def compress_js_uglifier(content)
Uglifier.compile(content)
end

# Compress the JS using Terser, requires javascript runtime
def compress_js_terser(content)
begin
require 'terser'
Expand Down

0 comments on commit 2b91856

Please sign in to comment.