diff --git a/Gemfile b/Gemfile index 5fe097c2..0cabf18e 100644 --- a/Gemfile +++ b/Gemfile @@ -39,7 +39,6 @@ gem 'sorcery' # Causes a deprecation warning in Rails 6.0+, see: https://github. gem 'telegraf' gem 'tubesock', git: 'https://github.com/gosukiwi/tubesock', branch: 'patch-1' # Switch to a fork which is compatible with Rails 5 gem 'turbolinks' -gem 'uglifier' gem 'webpacker' gem 'whenever', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 0995bace..c4424c3f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -140,7 +140,7 @@ GEM database_cleaner-core (2.0.1) debug_inspector (1.1.0) diff-lcs (1.4.4) - docile (1.3.5) + docile (1.4.0) docker-api (2.1.0) excon (>= 0.47.0) multi_json @@ -149,7 +149,6 @@ GEM erubi (1.10.0) eventmachine (1.2.7) excon (0.81.0) - execjs (2.8.0) factory_bot (6.2.0) activesupport (>= 5.0.0) factory_bot_rails (6.2.0) @@ -475,8 +474,6 @@ GEM turbolinks-source (5.2.0) tzinfo (2.0.4) concurrent-ruby (~> 1.0) - uglifier (4.2.0) - execjs (>= 0.3.0, < 3) unf (0.1.4) unf_ext unf_ext (0.0.7.7) @@ -576,7 +573,6 @@ DEPENDENCIES telegraf tubesock! turbolinks - uglifier web-console webmock webpacker diff --git a/config/environments/production.rb b/config/environments/production.rb index d5d432aa..398510a0 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -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.