From d82a7ea622984c02211abdf873a57cd6a933fe9b Mon Sep 17 00:00:00 2001 From: Muhammad Date: Wed, 13 Nov 2024 21:06:01 +0700 Subject: [PATCH] fix knip test --- packages/tests/src/common.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/tests/src/common.ts b/packages/tests/src/common.ts index 768cd208..f0620fe9 100644 --- a/packages/tests/src/common.ts +++ b/packages/tests/src/common.ts @@ -176,6 +176,11 @@ export async function createKnipConfig(projectDir: string, flags: string[], scri ignore.push("cdk.out/**"); } + if (flags.includes("panda-css")) { + entry.push("panda.config.ts"); + ignoreDependencies.push("postcss"); + } + const scriptsValues = Array.from(Object.values(scripts)); if (scriptsValues.some((s) => s.includes("tsx "))) {