web-component-analyzer icon indicating copy to clipboard operation
web-component-analyzer copied to clipboard

Include module path / import specifier in output

Open justinfagnani opened this issue 4 years ago • 1 comments

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.

justinfagnani avatar Feb 05 '20 02:02 justinfagnani

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.

bahrus avatar Nov 05 '20 10:11 bahrus