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

Ship ESM code #2

Open
Silic0nS0ldier opened this issue Sep 9, 2021 · 1 comment
Open

Ship ESM code #2

Silic0nS0ldier opened this issue Sep 9, 2021 · 1 comment
Labels
blocked Cannot currently progress.

Comments

@Silic0nS0ldier
Copy link
Owner

VSCode imports extensions as CJS, however from CJS dynamic import can be used. With this it should be possible to pivot to ESM from the CJS main script.

Advantage here is less compilation, and support for newer ESM only packages.

@Silic0nS0ldier
Copy link
Owner Author

Blocked by microsoft/vscode#130367

https://github.com/Silic0nS0ldier/web-worker might offer a work around, but would require a significant refactor.

@Silic0nS0ldier Silic0nS0ldier added the blocked Cannot currently progress. label Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Cannot currently progress.
Projects
None yet
Development

No branches or pull requests

1 participant