Skip to content

Proposal: Add ESM-compatible plugin exports for modern environments #614

@matteod

Description

@matteod

Hi and thanks for this collection of plugins.

Would you consider supporting ES Module (ESM) usage in modern environments like Vite, Symfony AssetMapper, or import maps?

I’d suggest a non-breaking addition:

  • Keep current files unchanged
  • Add ESM-friendly variants (e.g. ellipsis.esm.js) using export default
  • Add "exports" in package.json to expose them to ESM-aware CDNs (esm.sh, skypack, etc.)

If you agree, I can contribute a PR with initial support.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions