-
Notifications
You must be signed in to change notification settings - Fork 27
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
ES Module support for Web Workers #192
Comments
The current status quo is very complicated to deal with and I think a lot of people just don't even bother because of it. This is a thing we kind of need interop on to really realize the potential of and I think that a lot of stuff that uses workers is stuff that people use kind of a lot or have strict perf goals/limits... There are less of them and they are more centralized, so another bit of rationale here is that it is a win for more users requiring less people (who are already acutely aware) to act. |
ES module support for Web Worker is a P3 for Google's closure library "I don't have a good sense of how widespread the use of workers is, nor the effect it has on the code, but my understanding is that you have to write code differently depending on where it's targetted, and this is a burden on users." |
Thank you for proposing ES Module support for Web Workers for inclusion in Interop 2023. We are pleased to let you know that this proposal was accepted as part of the Modules focus area. You can follow the progress of this Focus Area on the Interop 2023 dashboard. For an overview of our process, see the proposal selection summary. Thank you for contributing to Interop 2023! Posted on behalf of the Interop team. |
Description
With robust, native ES module support in both the server and the main thread of modern browsers, it would be wonderful to have full support for ES Modules in Web Worker contexts without need for compilation.
Rationale
Specification
https://html.spec.whatwg.org/multipage/workers.html#module-worker-example
Tests
https://wpt.fyi/results/workers/modules
The text was updated successfully, but these errors were encountered: