Skip to content

Commit d82a7ea

Browse files
committed
fix knip test
1 parent bfb6b79 commit d82a7ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/tests/src/common.ts

+5
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,11 @@ export async function createKnipConfig(projectDir: string, flags: string[], scri
176176
ignore.push("cdk.out/**");
177177
}
178178

179+
if (flags.includes("panda-css")) {
180+
entry.push("panda.config.ts");
181+
ignoreDependencies.push("postcss");
182+
}
183+
179184
const scriptsValues = Array.from(Object.values(scripts));
180185

181186
if (scriptsValues.some((s) => s.includes("tsx "))) {

0 commit comments

Comments
 (0)