Skip to content

When using lit-element or lit-html @event syntax, don't use sortAttributes in htmlMinifier #44

@moderndeveloperllc

Description

@moderndeveloperllc

This is not an issue with your library, but you might want to put it in the hint for htmlMinifier. Using @event-style syntax in elements of your render() templates can cause issues if you use sortAttributes - kangax/html-minifier#1057. Basically the attributes get sorted, but the replacement strings don't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions