runem / web-component-analyzer

CLI that analyzes web components and emits documentation
https://runem.github.io/web-component-analyzer
MIT License
507 stars 65 forks source link

When using @custom-element decorator and @element with same tags, its fails #218

Open wapophis opened 3 years ago

wapophis commented 3 years ago

I'm using a file structure like this: /dist/src/wcView.js (extends from the viewModel) (@custom-element decorator) (here only goes @events and other stuff in a main jsdoc block commented code) /dist/src/WcViewModel.js ( extends from lit) (@element in the comments, properties are in the view model) /dist/src/css/anystyle.css.js (only css) (@element in the comments, @cssprops)

When making wca analisis only the viewmodel and css are reported, but if i remove the @custom-element decorator everything is reported as expected.

Thanks for your time and work. Cheers in advance, very useful integration with storybook and jsdoc.