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 5, 2024
1 parent 2b91856 commit 7c8bc25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roda/plugins/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def compress_js_terser(content)
# :nocov:
end

Terser.compile(content)
Terser.compile(content, compress: { drop_console: true })
end

# Compress the CSS using YUI Compressor, requires java runtime
Expand Down

0 comments on commit 7c8bc25

Please sign in to comment.