Skip to content

Commit

Permalink
fix knip test
Browse files Browse the repository at this point in the history
  • Loading branch information
phonzammi committed Nov 13, 2024
1 parent bfb6b79 commit d82a7ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/tests/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 "))) {
Expand Down

0 comments on commit d82a7ea

Please sign in to comment.