-
Notifications
You must be signed in to change notification settings - Fork 54
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
Support ES6 Modules #56
Comments
This would be very helpful since microsoft/vscode#210466 is now live. |
any updates on this one? |
I think this is also related: microsoft/vscode#212727 |
any idea when this is gonna be implemented? It seems like there is no possibility of importing esm modules in commonjs without using a dynamic import.. which again is not supported by vscode |
@v4lentin1879 the PR @wataBottl referenced looks interesting. I don't think it will get merged but it seems to be possible. |
@alexander-heimbuch okay at least something :D Do you have any idea how to do this? Using dynamic imports only works in debug mode. |
@v4lentin1879 it looks like it does require a change in the extension loader in core, without it I don't think it possible (or I couldn't manage to get it working). |
@alexdima are you tracking any work on this? |
Is the blocker the lack of stability of |
Now that VSCode is on Electron 28 which has ESM support, the loaders need to be updated similarly to allow for extensions to be written in ESM
microsoft/vscode#130367 (comment)
The text was updated successfully, but these errors were encountered: