Suggest an idea for Knip
We're using Lit, but I think that this topic applies to any custom element usage/framework.
The issue is that when registering a custom element you register it under a separate name than the class name.
And then you're free to use the registered element name in html.
The problem is that knip doesn't track these usages. Which in turn results in it marking all custom elements as unused.
Suggest an idea for Knip
We're using Lit, but I think that this topic applies to any custom element usage/framework.
The issue is that when registering a custom element you register it under a separate name than the class name.
And then you're free to use the registered element name in html.
The problem is that knip doesn't track these usages. Which in turn results in it marking all custom elements as unused.