From 4cd2d25dca6a34db1ef9b7218a783a0076935a5f Mon Sep 17 00:00:00 2001 From: "Kerby Martino (aider)" Date: Mon, 12 May 2025 13:03:30 +0800 Subject: [PATCH] perf: Improve Tailwind CSS build performance by targeting content paths --- tailwind.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index aec1a15..7f011b0 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,6 +1,10 @@ module.exports = { content: [ - './**/*.{html,md}', + './pages/**/*.{html,md,liquid}', + './_layouts/**/*.{html,liquid}', + './_includes/**/*.{html,liquid}', + './*.{html,md,liquid}', // For root files like index.html, etc. + './_site/**/*.{html,md}', '!./node_modules/**/*' ], future: {