Closed bertdeblock closed 2 years ago
Hi! It would be nice if ember-unused-components also supports the nested component structure.
ember-unused-components
Atm, even though used, this component is flagged as unused:
- app/components/foo-bar/index.js - app/components/foo-bar/index.hbs
It seems like we can achieve this by updating the objectName function to also strip index.js and index.hbs.
index.js
index.hbs
If you can also tell me what else is needed testing wise, I could probably make a PR for this.
Was this closed with no intent? I don't see any change and am also running into this issue.
Hi! It would be nice if
ember-unused-components
also supports the nested component structure.Atm, even though used, this component is flagged as unused:
It seems like we can achieve this by updating the objectName function to also strip
index.js
andindex.hbs
.If you can also tell me what else is needed testing wise, I could probably make a PR for this.