Add custom command for exporting body content

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
This commit is contained in:
Oliver Davies 2020-05-20 01:20:22 +01:00
parent f83e04a12b
commit 6ed644c8d3
3 changed files with 56 additions and 0 deletions

1
.gitignore vendored
View file

@ -15,4 +15,5 @@
!/web/themes/custom/**
/.idea/workspace.xml
/vendor/
/web/themes/custom/*/body-field-values.txt
/web/themes/custom/*/dist/