Skip to content

Chunking/tree shaking via lang-based named imports #4

Open
@rosskevin

Description

@rosskevin

Since the output of the plugin is an ESM export, perhaps it makes sense for us to enumerate langs and export them independently at the top, in addition to one default export (which includes all langs for those that don't care).

I suspect that a named dynamic import would then be tree-shakeable. I could be wrong, but interested in other's thoughts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationChanges only affect the documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions