about summary refs log tree commit diff
path: root/config/initializers/premailer_rails.rb
blob: 31c02dffab2731939c6f928233893837b0e8c361 (plain) (blame)
1
2
3
4
5
6
require_relative '../../lib/mastodon/premailer_webpack_strategy'

Premailer::Rails.config.merge!(remove_ids: true,
                               adapter: :nokogiri,
                               generate_text_part: false,
                               strategies: [PremailerWebpackStrategy])