Skip to content

Support ES Modules #250

Description

@mjeanroy

Hi @jfarcand,

Currently, the codebase supports AMD, commonjs and global (the UMD pattern).
But, there is not support for ES Modules, so my question is: is there a plan to support it?

There are a lot of benefits by using ES Modules, such as tree shaking for example.
I think that adding support for ES Modules need some changes, at least:

  • Do not rely on java yui compressor, since it does not support ES Modules.
  • Distribute both UMD package and ES packages.

If that is something that can interest you, I think I can start working on it.
What do you think?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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