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

Support modules in web workers. #150

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

duggaraju
Copy link

@duggaraju duggaraju commented Mar 15, 2024

Do not fetch the script locally as it wont work for modules.

Changes in this pull request

Support using modules for workers.
This helps with local debugging of the worker code since most bundlers server as modules by default.
For module to work you can't download the worker script source locally.

Types of changes

Expose a worker pool option to set the worker type.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • All applicable changes have been documented
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment

duggaraju and others added 2 commits March 15, 2024 12:00
Do not fetch the script locally as it wont work for modules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant