Remove uglifier as JS preprocessor
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user