bastodon/config/initializers/premailer_rails.rb

8 lines
317 B
Ruby

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