-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Improve documentation for workers #6716
Comments
I think the best place here - https://webpack.js.org/guides/web-workers/ @kirill-konshin Maybe you want to help other developers and send a PR So we will show how to build web worker in multi compiler mode + handle cross-domain + dynamic public path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's supported:
import()
of images and anything elsehttps://github.com/kirill-konshin/cross-domain-worker/blob/main/packages/cross-domain-worker/src/index.js I have published the NPM package
cross-domain-worker
since the solution is quite reusable.https://github.com/kirill-konshin/cross-domain-worker/blob/main/packages/host/src/index.js usage in main thread.
https://github.com/kirill-konshin/cross-domain-worker/blob/main/packages/worker/src/worker.js usage in worker.
Originally posted by @kirill-konshin in webpack/webpack#16696 (comment)
The text was updated successfully, but these errors were encountered: