Skip to content

Compile to ES6 #65372

Description

This is the continuation of #47144. The goal is to down level compile the VS Code sources to modern JS so that we benefit from things like let, const, async/await and more. Things that need to be done:

  • Adjust our compile scripts - reuse from Compile down to es6 #47144?
  • Make sure that we don't leak modern library dependencies into the monaco-editor and layers below. This is because of our old friend IE11. Our fix for this is the double compile via tsconfig.monaco.json
  • With es6 classes will be emitted as classes. This breaks extensions that are extending from our classes that are compiled to functions (see Compile down to es6 #47144 (comment))

cc João Moreno (@joaomoreno)

Activity

  1. jrieken commented on Feb 7, 2019

    @jrieken
    ContributorAuthor

    some work is happening here: #68121

  2. jrieken commented on Feb 11, 2019

    @jrieken
    ContributorAuthor

    This is now in master.

  3. locked and limited conversation to collaborators on Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debtCode quality issuesengineeringVS Code - Build / issue tracking / etc.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions