Skip to content

Commit 5017405

Browse files
committed
Replace :terser with Terser.new
https://github.com/ahorek/terser-ruby#usage
1 parent 66d682e commit 5017405

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class App < Sinatra::Application
9494
['/manifest.json', { 'Cache-Control' => 'public, max-age=86400' }]
9595
]
9696

97-
sprockets.js_compressor = :terser
97+
sprockets.js_compressor = Terser.new
9898
sprockets.css_compressor = :sass
9999

100100
Sprockets::Helpers.configure do |config|

0 commit comments

Comments
 (0)