Skip to content

Commit b4a8350

Browse files
committed
Ignore dependencies in knip production mode
1 parent 223c37e commit b4a8350

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ jobs:
199199
run: pnpm knip
200200

201201
- name: 🧹 Check for unused production code
202-
run: pnpm knip --production
202+
run: pnpm knip --production --exclude dependencies
203203

204204
i18n:
205205
name: 🌐 i18n validation

knip.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const config: KnipConfig = {
2323
ignoreDependencies: [
2424
'@iconify-json/*',
2525
'@voidzero-dev/vite-plus-core',
26-
'vite-plus!',
2726
'puppeteer',
2827
/** Needs to be explicitly installed, even though it is not imported, to avoid type errors. */
2928
'unplugin-vue-router',

0 commit comments

Comments
 (0)