mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-18 12:30:03 +00:00
7f471e70c0
Co-authored-by: Matt Jankowski <matt@jankowski.online>
10 lines
374 B
Ruby
10 lines
374 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,
|
|
css_to_attributes: false,
|
|
strategies: [PremailerWebpackStrategy])
|