knip
knip copied to clipboard
feat(nuxt): use `nuxt` to resolve its own paths
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)