Lars Kappert

Results 640 comments of Lars Kappert

I don't see related changes that stand out for me in v5.5.0, so I'd need more details. Or even better, a reproduction.

Closing due to inactivity and missing reproduction.

This is a totally valid bug report, but currently a non-trivial thing to handle in Knip. Even if we'd take the `working-directory` into account to accomodate for something to run...

Going to reject this one, since it does not match what Knip currently offers, and we don't have the bandwidth/resources to implement RFCs like this.

Unfortunately from the error message alone I can't deduct the problem. Please create a minimal reproduction of the issue so I can look into it.

:rocket: _This issue has been resolved in v5.12.1. See [Release 5.12.1](https://github.com/webpro/knip/releases/tag/5.12.1) for release notes._ _Using Knip in a commercial project? Please consider [sponsoring me](https://github.com/sponsors/webpro)._

Thanks @peplin, super helpful! Just what we needed.

Very odd. In `--production` mode `vitest` is not imported (no test files included), and that's somehow what makes the difference in behavior. You can drop `import "vitest"` in `src/index.ts` and...

No plans, but that could change. Would be helpful to give more pointers as to what's different , etc. If they would be compatible, you could do something like this:...

Thanks for raising this, I totally agree. Although these flags should not be featured as highlights, I think. Essentially they're hiding issues. Obviously in large projects issues can't be fixed...