runem / web-component-analyzer

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

Include module path / import specifier in output #143

Open justinfagnani opened 4 years ago

justinfagnani commented 4 years ago

In order to use an element you need to know what module to import. The custom-elements.json output doesn't include this at the moment.

bahrus commented 3 years ago

It would be nice if the "path" could be overridden by a JSDoc setting on the class.

The purpose is doing that is I'm using a derived class so I can set default values, so the analyzer picks up on the properties. But I want the output custom-elements.json file to contain the path to the base class, not the derived class.