services:
  logger.channel.advagg_js_minify:
    parent: logger.channel_base
    arguments: ['advagg_js_minify']
  advagg.js_minifier:
    class: Drupal\advagg_js_minify\Asset\JsMinifier
    arguments: [ '@logger.channel.advagg_js_minify',  '@config.factory' ]
  advagg.js_subscriber:
    class: Drupal\advagg_js_minify\EventSubscriber\MinificationSubscriber
    tags:
      -
        name: event_subscriber
    arguments: [ '@advagg.js_minifier' ]
