-
-
Notifications
You must be signed in to change notification settings - Fork 578
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
call syntax for worker #3686
Comments
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
Hey! We are currently evaluating rspack as a replacement for Webpack. We were able to reduce build time from 20 to 1 second, thanks to this replacement. However, the output is not a functional application yet. We are using Service Worker in the application and currently there is no option for rspack to figure it out and load it like Webpack did. We would love to see that feature implemented, because it will ease the potential migration process on our end. tl;dr bump, we are interested in this option:) |
@ahabhgk any plans to support it? what's the biggest issue there to have it? is there any other way to register a service worker? |
The main blocker (parser refactoring) is no longer an issue now, so I will try to implement it soon. |
@ahabhgk are you able to provide any rough timeline? I'm sure you have a lot on yours plate right now, but any date would be appreciated to plan our work as well. |
Maybe next week, I'm working on it |
hooray! I am glad you've managed to implement that. When do you plan to release it? @ahabhgk |
If everything goes well, we will release this in v1.0.0-alpha.0 in tomorrow, it contains some break changes, but I think it should be easy to upgrade :) |
create worker from function call syntax like
navigator.serviceWorker.register()
The text was updated successfully, but these errors were encountered: