mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(html): prevent tsdown from stripping custom element registrations (#703)
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import { TimeElement } from '../../ui/time/time-element';
|
||||
import { TimeGroupElement } from '../../ui/time/time-group-element';
|
||||
import { TimeSeparatorElement } from '../../ui/time/time-separator-element';
|
||||
import { safeDefine } from '../safe-define';
|
||||
|
||||
import './time-group';
|
||||
import './time-separator';
|
||||
|
||||
customElements.define(TimeElement.tagName, TimeElement);
|
||||
safeDefine(TimeElement);
|
||||
safeDefine(TimeGroupElement);
|
||||
safeDefine(TimeSeparatorElement);
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
|
||||
Reference in New Issue
Block a user