Skip to content

Custom elements without tags #2417

@Rich-Harris

Description

@Rich-Harris

This can be done as a non-breaking change post v3, but I wonder if it should be possible to compile a custom element without a tag — i.e. it doesn't add the

customElements.define(tag, constructor);

line automatically, but instead leaves it up to the consumer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions