diff --git a/config/initializers/uglifier.rb b/config/initializers/uglifier.rb new file mode 100644 index 0000000..32db887 --- /dev/null +++ b/config/initializers/uglifier.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +if Rails.application.config.assets.js_compressor == :uglifier + Rails.application.config.assets.js_compressor = Uglifier.new(harmony: true) +end