fix(html): prevent tsdown from stripping custom element registrations (#703)

This commit is contained in:
rahim
2026-03-04 19:06:43 +11:00
committed by GitHub
parent 1edeadefed
commit 9a5dfab4e8
36 changed files with 337 additions and 68 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { PlayButtonElement } from '../../ui/play-button/play-button-element';
import { safeDefine } from '../safe-define';
customElements.define(PlayButtonElement.tagName, PlayButtonElement);
safeDefine(PlayButtonElement);
declare global {
interface HTMLElementTagNameMap {