fix: uglify use ES6
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Philipp Rothmann 2023-01-12 12:05:17 +01:00
parent 579748034e
commit 7faef1aaf2

View file

@ -27,7 +27,7 @@ Rails.application.configure do
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
config.assets.js_compressor = Uglifier.new(harmony: true)
config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.