Merge pull request #1 from wyysf123/wyysf123-patch-1

fixed customElements.define error
pull/7353/head
wyysf123 5 years ago committed by GitHub
commit c8623646cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -569,7 +569,7 @@ export default function dom(
if (component.tag != null) {
body.push(b`
@_customElements.define("${component.tag}", ${name});
!@_customElements.get("${component.tag}") && @_customElements.define("${component.tag}", ${name});
`);
}
} else {

Loading…
Cancel
Save