-
-
Notifications
You must be signed in to change notification settings - Fork 388
Closed
Labels
regressionSomething is no longer workingSomething is no longer working
Description
Prerequisites
- I've read the relevant documentation
- I've searched for existing issues
- I've read the issue reproduction guide
Reproduction url
https://stackblitz.com/edit/github-b2hktnir
Reproduction access
- I've made sure the reproduction is publicly accessible
Good version
5.88.1
Bad version
6.0.0
Description of the regression
In the documentation https://knip.dev/guides/handling-issues#external-aliased-imports there's a suggested config to use with unplugin-icons
{
"paths": {
"~icons/*": ["node_modules/unplugin-icons/types/react.d.ts"]
}
}However, starting from Knip version 6.0.0 and above, this configuration no longer seems to have any effect.
As a result, imports using the ~icons/* alias are reported as unresolved. For example:
Unresolved imports (1)
~icons/material-symbols/more-horiz index.ts:1:24
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
regressionSomething is no longer workingSomething is no longer working