From b92ad009268508be7877e4225c48d05e84f24550 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 12 Sep 2021 01:20:13 -0700 Subject: [PATCH] Reduce the production build of TailwindCSS from 2M to 12k --- build/javascript/tailwind.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/build/javascript/tailwind.config.js b/build/javascript/tailwind.config.js index de1121b60..669c480a7 100644 --- a/build/javascript/tailwind.config.js +++ b/build/javascript/tailwind.config.js @@ -1,5 +1,6 @@ module.exports = { purge: { + enabled: true, mode: 'layers', content: ['../../webroot/js/**'], },