Remove uglifier
We don't use this since moving to webpacker, neither does it support ES6
This commit is contained in:
parent
8c140bc0a9
commit
4e59b0a3d6
1
Gemfile
1
Gemfile
|
@ -11,7 +11,6 @@ gem "pg"
|
|||
gem "jbuilder", "~> 2.10"
|
||||
gem "sass-rails", "~> 5.0"
|
||||
gem "turbolinks", "~> 2.5.3"
|
||||
gem "uglifier", ">= 1.3.0"
|
||||
|
||||
gem "bcrypt", "~> 3.1.7"
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Rails.application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
config.asset_source = :webpacker
|
||||
|
||||
# Code is not reloaded between requests.
|
||||
config.cache_classes = true
|
||||
|
@ -19,7 +20,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(harmony: true)
|
||||
# config.assets.js_compressor = :uglifier
|
||||
# config.assets.css_compressor = :sass
|
||||
|
||||
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
||||
|
|
Loading…
Reference in New Issue