Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename module_systems 'es6' to 'esm' #1066

Open
dmmulroy opened this issue Feb 15, 2024 · 1 comment
Open

Rename module_systems 'es6' to 'esm' #1066

dmmulroy opened this issue Feb 15, 2024 · 1 comment

Comments

@dmmulroy
Copy link

dmmulroy commented Feb 15, 2024

Currently melange, via dune, can be configured to compile to common js (cjs) OR to EcmaScript Modules (esm). Right now the option incorrectly uses the name es6 to output esm. ES6, also known as EcmaScript 2015, is a versioned specification of the EcmaScript language (https://262.ecma-international.org/6.0/).

We should update Dune and the Melange documentation to reflect this and use esm instead of es6

@anmonteiro
Copy link
Member

yeah I think this is a good idea, but it'll involve some coordination with dune. I'll get the ball rolling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants