Skip to content

Support Native ESM in order to work properly in vitejs and TypeScript #23

@achmadk

Description

@achmadk

Hello. I have issue with void-elements library inside vite-based web application project.

This library is used by html-parse-stringify. I got error like this.
Screenshot from 2021-10-13 12-16-59

Although this library has support ESM with jsnext:main, unfortunately this library doesn't support native ESM, which required for vite in order to work properly.

Moreover, I hope this library also have built-in support TypeScript definition because definition file from @types/void-elements needs improvement to be stricter.

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