Remove uglifier as JS preprocessor

This commit is contained in:
Sebastian Serth
2021-05-12 17:51:28 +02:00
parent 0b43d8e656
commit d563488c30
3 changed files with 2 additions and 8 deletions

View File

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