From 59620f8a51d6cb051156cdc460d1f8fae6fbda07 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 10 Jan 2021 22:15:48 +0000 Subject: [PATCH] Add .theme file to the PurgeCSS config Ensures that any classes in `opdavies.theme` are not purged in a production CSS build. References #341 --- web/themes/custom/opdavies/tailwind.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/themes/custom/opdavies/tailwind.config.js b/web/themes/custom/opdavies/tailwind.config.js index e352446..61cc001 100644 --- a/web/themes/custom/opdavies/tailwind.config.js +++ b/web/themes/custom/opdavies/tailwind.config.js @@ -12,6 +12,7 @@ module.exports = { content: [ '../../../../config/**/*.yml', 'body-field-values.txt', + 'opdavies.theme', 'templates/**/*.twig' ], options: {