diff --git a/Gemfile b/Gemfile index c6c6e82fd..f4b30a45f 100644 --- a/Gemfile +++ b/Gemfile @@ -6,8 +6,6 @@ gem 'rails' # Use SCSS for stylesheets gem 'sass-rails' -# Use Uglifier as compressor for JavaScript assets -gem 'uglifier' # Use jquery as the JavaScript library gem 'jquery-rails' diff --git a/Gemfile.lock b/Gemfile.lock index 89369ac04..971e18182 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -761,8 +761,6 @@ GEM ethon (>= 0.9.0) tzinfo (1.2.5) thread_safe (~> 0.1) - uglifier (4.1.19) - execjs (>= 0.3.0, < 3) unf (0.1.4) unf_ext unf_ext (0.0.7.5) @@ -896,7 +894,6 @@ DEPENDENCIES timecop turbolinks typhoeus - uglifier unicorn vcr warden! diff --git a/config/environments/production.rb b/config/environments/production.rb index 9c120b8e9..b79e63fbb 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -28,7 +28,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.new(mangle: false) + # config.assets.js_compressor = :uglifier # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed.