Closed awixor closed 4 hours ago
Unfortunately there is not, Knip runs all command
variations: https://github.com/webpro-nl/knip/blob/978577c364a4a95c3a0d3de67013a8097730ee52/packages/knip/src/plugins/vitest/index.ts#L64
It does this to find all dependencies. There's currently no custom options per plugin or so.
One could argue "dev"
is a valid command
, though, or is it not?
Closing due to inactivity, and a fix can be implemented downstream.
This is my
vite.config
:When running
pnpm run knip
it throwsError: unrecognized vite command
, becauseknip
uses thedev
command.is there a way to fix this without return
serveConfig
as a default invite.config