Open daKmoR opened 3 years ago
This should be fixed when this pr lands https://github.com/open-wc/custom-elements-manifest/pull/129
I think #129 will mean it analyzes the code in my node_modules?
but what I mean is that it reads the costume-elements-manifest.json
in node_modules and not the code. (e.g. do not analyze the code again)
Ah yes I suppose we can try to see if the dependency doesnt already have a custom-elements-manifest.json
before we try to analyze. That might be hard because of the whole export map situation, but we can always analyze as a fallback. I'll take a look.
my deps
👉
node_modules/base/MyBase.js
👉
node_modules/base/custom-elements-manifst.json
https://custom-elements-manifest.netlify.app/?source=CmltcG9ydCB7IExpdEVsZW1lbnQgfSBmcm9tICdsaXQtZWxlbWVudCc7CgpleHBvcnQgY2xhc3MgTXlCYXNlIGV4dGVuZHMgTGl0RWxlbWVudCB7CiAgc3RhdGljIGdldCBwcm9wZXJ0aWVzKCkgewogICAgcmV0dXJuIHsKICAgICAgYXdlc29tZTogeyB0eXBlOiBCb29sZWFuIH0KICAgIH0KICB9CgogIGNvbnN0cnVjdG9yKCkgewogICAgc3VwZXIoKTsKICAgIHRoaXMuYXdlc29tZSA9IHRydWU7CiAgfQp9Cg%3D%3D&library=litelement
my element
Actual behavior
Generated CEM or docs for MyEl lists only
rainbow
as a member but notawesome
.Expected behavior
Generated CEM or docs for MyEl should list
rainbow
andawesome
as a member.