Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Expose ESModule version of web target for optimizing bundle size #28

@vhfmag

Description

@vhfmag

With simple changes to the build_and_publish.sh script, we could bundle both a CommonJS and a ESModule versions of the API, so that we allow bundle size optimizations such as tree shaking without sacrificing backwards compatibility.

I should be shipping a proposal as a PR soon.

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