From 93eef3434197d5b577e88ceb711bbe76e89bb54f Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Sun, 9 Mar 2025 22:22:51 +0800 Subject: [PATCH] fix: no-custom-classname false negatives with nativewind --- lib/util/customConfig.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/util/customConfig.js b/lib/util/customConfig.js index 1ab15994..90cdc203 100644 --- a/lib/util/customConfig.js +++ b/lib/util/customConfig.js @@ -11,6 +11,9 @@ try { twLoadConfig = null; } +// for nativewind preset +process.env.TAILWIND_MODE = 'build'; + const CHECK_REFRESH_RATE = 1_000; let previousConfig = null; let lastCheck = null;