1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-25 20:18:30 +09:00
YuruToot/config/initializers/premailer_rails.rb

10 lines
374 B
Ruby
Raw Normal View History

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