Merge pull request #2685 from tchak/remove-uglifier

Remove uglifier
This commit is contained in:
gregoirenovel 2018-09-25 18:44:15 +02:00 committed by GitHub
commit 9c65b65a03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 6 deletions

View file

@ -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'

View file

@ -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!

View file

@ -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.