Currently only customElements.define is picked up as a export of kind"custom-elements-definition". We should also pick up window.customElements.define.
It now naively handles window.customElements.define, but it would be nice to implement the helper code lars mentioned
Currently onlycustomElements.define
is picked up as aexport
ofkind
"custom-elements-definition"
. We should also pick upwindow.customElements.define
.It now naively handles
window.customElements.define
, but it would be nice to implement the helper code lars mentioned