From 8b37724c33b4ee5833e381104678bc1dd35223f7 Mon Sep 17 00:00:00 2001 From: Kerby Martino Date: Mon, 12 May 2025 22:14:20 +0800 Subject: [PATCH] chore: Update Tailwind content paths to exclude dotfiles --- tailwind.config.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 0755b92..e83a87b 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -3,9 +3,17 @@ module.exports = { './pages/**/*.{html,md,liquid}', './_layouts/**/*.{html,liquid}', './_includes/**/*.{html,liquid}', - './*.{html,md,liquid}', // For root files like index.html, etc. + + // For root files like index.html, etc. + './*.{html,md,liquid}', './_site/**/*.{html,md}', - '!./node_modules/**/*' + + // Exclude node_modules + '!./node_modules/**/*', + + // Exclude dotfiles (config files or hidden files) + '!**/.*', + '!./.*' ], future: { // removeDeprecatedGapUtilities: true,