You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think most or all of them can be potentially worked around by using bun:
bunx --bun knip
This uses the Bun runtime. Bun does not transpile, just strips types, has flexible module resolution, and also uses TS path aliases (tsconfig.json#compilerOptions.paths) in dynamically loaded scripts/modules.
jiti v2 might fix the issues for the Node.js runtime.
The text was updated successfully, but these errors were encountered:
There's a number of issues around using jiti. First and foremost: Jiti is awesome, Knip wouldn't nearly be as good without it!
This is a collector issue for housekeeping, and I expect those to be resolved at once. issues are documented at https://knip.dev/reference/known-issues
I think most or all of them can be potentially worked around by using bun:
This uses the Bun runtime. Bun does not transpile, just strips types, has flexible module resolution, and also uses TS path aliases (
tsconfig.json#compilerOptions.paths
) in dynamically loaded scripts/modules.jiti v2 might fix the issues for the Node.js runtime.
The text was updated successfully, but these errors were encountered: