summaryrefslogtreecommitdiff
path: root/config/initializers/premailer.rb
blob: b07dc792cab60ac2e5524e53ffa2ef6fba9f7640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

# See https://github.com/fphilipe/premailer-rails#configuration
Premailer::Rails.config.merge!(
  generate_text_part: false,
  preserve_styles: true,
  remove_comments: true,
  remove_ids: false,
  remove_scripts: false,
  output_encoding: 'US-ASCII',
  strategies: [:asset_pipeline]
)