Commit ab37fb4
Changed files (3)
config/environments/production.rb
@@ -24,7 +24,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
# config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.
Gemfile
@@ -12,7 +12,7 @@ gem 'puma', '~> 3.7'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
-gem 'uglifier', '>= 1.3.0'
+#gem 'uglifier', '>= 1.3.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
Gemfile.lock
@@ -230,8 +230,6 @@ GEM
turbolinks-source (5.0.3)
tzinfo (1.2.3)
thread_safe (~> 0.1)
- uglifier (3.2.0)
- execjs (>= 0.3.0, < 3)
web-console (3.5.1)
actionview (>= 5.0)
activemodel (>= 5.0)
@@ -294,7 +292,6 @@ DEPENDENCIES
therubyracer
turbolinks (~> 5)
tzinfo-data
- uglifier (>= 1.3.0)
web-console (>= 3.3.0)
webmock
webpacker