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
Load ES module from VS Code extension #915
Comments
According to electron/electron#21457 (comment) from an Electron maintainer, it seems it is technically unfeasible to support ESM in Electron directly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to load an ES module from a VS Code extension, see this question on stackoverflow. I believe I have run into this issue.
In another issue someone suggested to use the
esm
package. I tried it, see the esm branch, but I still get the following error:Any suggestions?
See also: https://stackoverflow.com/questions/70620025/how-do-i-import-an-es6-javascript-module-in-my-vs-code-extension-written-in-type
The text was updated successfully, but these errors were encountered: