Replace :terser with Terser.new

https://github.com/ahorek/terser-ruby#usage
pull/2073/head
Simon Legner 1 year ago
parent 66d682eae9
commit 5017405fb9

@ -94,7 +94,7 @@ class App < Sinatra::Application
['/manifest.json', { 'Cache-Control' => 'public, max-age=86400' }]
]
sprockets.js_compressor = :terser
sprockets.js_compressor = Terser.new
sprockets.css_compressor = :sass
Sprockets::Helpers.configure do |config|

Loading…
Cancel
Save