1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-26 12:38:15 +09:00
mastodon/config/initializers/premailer_rails.rb

7 lines
295 B
Ruby
Raw Normal View History

require_relative '../../lib/mastodon/premailer_webpack_strategy'
Premailer::Rails.config.merge!(remove_ids: true,
adapter: :nokogiri,
generate_text_part: false,
strategies: [PremailerWebpackStrategy])