mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
Remove uglifier
This commit is contained in:
committed by
Konrad
parent
f8f778eaa1
commit
a024d0e5ac
1
Gemfile
1
Gemfile
@@ -115,7 +115,6 @@ gem 'coffee-rails', '~> 5.0.0'
|
||||
|
||||
gem 'mini_racer', '0.4.0'
|
||||
|
||||
gem 'uglifier', '>= 1.0.3'
|
||||
|
||||
gem 'angular_rails_csrf'
|
||||
|
||||
|
||||
@@ -640,8 +640,6 @@ GEM
|
||||
ttfunk (1.7.0)
|
||||
tzinfo (2.0.5)
|
||||
concurrent-ruby (~> 1.0)
|
||||
uglifier (4.2.0)
|
||||
execjs (>= 0.3.0, < 3)
|
||||
unicode-display_width (2.3.0)
|
||||
uniform_notifier (1.16.0)
|
||||
valid_email2 (4.0.4)
|
||||
@@ -809,7 +807,6 @@ DEPENDENCIES
|
||||
test-prof
|
||||
test-unit (~> 3.5)
|
||||
timecop
|
||||
uglifier (>= 1.0.3)
|
||||
valid_email2
|
||||
vcr
|
||||
view_component
|
||||
|
||||
@@ -51,12 +51,6 @@ Openfoodnetwork::Application.configure do
|
||||
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
||||
# config.action_controller.asset_host = "http://assets.example.com"
|
||||
|
||||
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
||||
# config.assets.precompile += %w( search.js )
|
||||
|
||||
require 'uglifier'
|
||||
config.assets.js_compressor = Uglifier.new(mangle: false, harmony: true)
|
||||
|
||||
# Disable delivery errors, bad email addresses will be ignored
|
||||
# config.action_mailer.raise_delivery_errors = false
|
||||
|
||||
|
||||
@@ -51,12 +51,6 @@ Openfoodnetwork::Application.configure do
|
||||
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
||||
# config.action_controller.asset_host = "http://assets.example.com"
|
||||
|
||||
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
||||
# config.assets.precompile += %w( search.js )
|
||||
|
||||
require 'uglifier'
|
||||
config.assets.js_compressor = Uglifier.new(mangle: false, harmony: true)
|
||||
|
||||
# Disable delivery errors, bad email addresses will be ignored
|
||||
# config.action_mailer.raise_delivery_errors = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user