-
Notifications
You must be signed in to change notification settings - Fork 360
Add worker-loader #815
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
Add worker-loader #815
Conversation
Targets enhancement: developit#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]>
|
@developit I addressed your comments. I'm not sure I'm capable of rebasing though. Last time I tried sketchy things happened in package-lock.json that I wasn't able to address. What now? |
You generally have to accept the remote one and then after create a new commit / amend a commit with a file you generated after by running |
|
I'll try to get this rebased this week (I'm also terrible at it!). This will need to go into a new breaking release (minor since microbundle is still pre-1.0), but I think that should be fine. |
|
Just wanted to mention I haven't forgotten about this PR, I just have been side-tracked rewriting Microbundle's filename inference. |
|
This was landed in #867! 🎉 |
Few comments
🤞🏼 that somehow this gets merged!