Add a custom Drush command that exports the body field values for node and block body fields into a file. This file can then be included within Tailwind's `purge` settings to prevent classes used within the body fields from being purged. References #55
6 lines
164 B
YAML
6 lines
164 B
YAML
services:
|
|
Drupal\custom\Command\ExportBodyValuesForThemePurgingCommand:
|
|
arguments: ['@database']
|
|
autowire: true
|
|
tags:
|
|
- { name: drush.command }
|