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

Dojo 2 and ES6 #25

kitsonk opened this Issue Mar 29, 2016 · 1 comment


None yet
2 participants

kitsonk commented Mar 29, 2016

Now that many browsers have sufficient support for ES6, we should try to support targeting ES6 for Dojo 2 and then consider including an "ES6" targeted version in our distributions.

Since 1.7, TypeScript allows targeting ES6 with other module formats (e.g. UMD).

Things I think we need to do:

  • Build a version of Dojo Loader targeting ES6 and run test suite against it
  • Build a version of Dojo Core targeting ES6 (still UMD modules) and run test suite against it
  • Update the Gruntfile to allow transparent building of ES6 distributions (for now, we should just have something like grunt dev:es6 and grunt dist:es6 instead of creating multiple outputs.

Both activities should be done in feature branches off of the main repos, so they can be worked on easily by multiple parties.

In particular, we might run into issues with some type conflicts with some of the built ins that we try to shim (especially Symbol). I know @devpaul was doing some work on this for #18, but I think this is a big enough chunk of work to break it out separately.


This comment has been minimized.

Show comment
Hide comment

kitsonk May 18, 2016


We have done enough research into this to know what we know and we don't know.


kitsonk commented May 18, 2016

We have done enough research into this to know what we know and we don't know.

@kitsonk kitsonk closed this May 18, 2016

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