terser 1.1.14 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ class Terser
10
10
 
11
11
  def initialize(options = {})
12
12
  options[:comments] ||= :none
13
- @options = options
13
+ @options = options.merge(Rails.application.config.assets.terser.to_h)
14
14
  @cache_key = -"Terser:#{::Terser::VERSION}:#{VERSION}:#{::Sprockets::DigestUtils.digest(options)}"
15
15
  @terser = ::Terser.new(@options)
16
16
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  class Terser
4
4
  # Current version of Terser.
5
- VERSION = "1.1.14"
5
+ VERSION = "1.2.3"
6
6
  end