knip icon indicating copy to clipboard operation
knip copied to clipboard

feat(nuxt): use `nuxt` to resolve its own paths

Open danielroe opened this issue 4 months ago • 3 comments

resolves https://github.com/webpro-nl/knip/issues/1255

this rewrites the nuxt plugin to use nuxt itself to resolve its own paths, supporting layers, modules, etc.

🚧 todo

at the moment test is failing.

we need to enable components + imports to register dependencies without being entries - ie. detect unused composables, but if a composable imports from something else, then that should count as that other thing being used

(this may be straightforward)

danielroe avatar Sep 16 '25 09:09 danielroe