Skip to content

Support ES Modules #250

@mjeanroy

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?

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