-
Notifications
You must be signed in to change notification settings - Fork 363
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
Rebase: Add worker-loader #867
Rebase: Add worker-loader #867
Conversation
Targets enhancement: #170 Enable usage of `microbundle --worker-loader` to apply rollup-plugin-web-worker-loader. Allow bundling web workers automatically - Add flag `--worker-loader` - For format `es` and `modern`, a Worker `type: module` is automatically bundled
Co-authored-by: Jason Miller <[email protected]>
Co-authored-by: Jason Miller <[email protected]>
Co-authored-by: Jason Miller <[email protected]>
Co-authored-by: Jason Miller <[email protected]>
Co-authored-by: Jason Miller <[email protected]>
Co-authored-by: Jason Miller <[email protected]>
🦋 Changeset detectedLatest commit: 30242dd The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Thanks for taking care of attribution <3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me! It would be nice to find an output mode that works with CJS, though I know that's something rollup-plugin-off-main-thread specifically throws an error for.
Context: This PR is a fork of #815 from @TimDaub. I asked @developit if I could help unblock it by rebasing and fixing the last few remaining conflicts myself and this is it. After rebasing, I've also manually rewritten the commit history to ensure @TimDaub stays the author of all commits.