premailer_rails.rb 326 B

12345678
  1. # frozen_string_literal: true
  2. require_relative '../../lib/mastodon/premailer_webpack_strategy'
  3. Premailer::Rails.config.merge!(remove_ids: true,
  4. adapter: :nokogiri,
  5. generate_text_part: false,
  6. strategies: [PremailerWebpackStrategy])