1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-12 05:38:57 +09:00
whippy-edition/config/initializers/premailer_rails.rb

9 lines
326 B
Ruby
Raw Normal View History

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