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

Allow ES6 modules in extensions #116056

Closed
a-ejs opened this issue Feb 7, 2021 · 4 comments
Closed

Allow ES6 modules in extensions #116056

a-ejs opened this issue Feb 7, 2021 · 4 comments
Assignees
Labels
extension-host Extension host issues feature-request Request for new features or functionality

Comments

@a-ejs
Copy link

a-ejs commented Feb 7, 2021

vscode 1.53.0

Extension fails to load if its main file is an ES module, which can't be required.

@jrieken jrieken added extension-host Extension host issues feature-request Request for new features or functionality labels Feb 8, 2021
@a-ejs
Copy link
Author

a-ejs commented Feb 10, 2021

To add to the original issue:

  • "vscode" module can't be imported, only required.
  • Calls to dynamic import() error with ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING when extension is packaged (works fine in extension development host).

@github-actions github-actions bot locked and limited conversation to collaborators May 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extension-host Extension host issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants
@jrieken @alexdima @a-ejs and others