actor
actor copied to clipboard
Keep Zeitwerk as a development dependency only
This article by @pepawel gives an interesting way to remove the Zeitwerk dependency in production and replace it with a script that builds a loader.
It sounds like an interesting idea, so if anybody wants to tackle this, it should be rather straightforward by following the article and make the ServiceActor gem a bit more lightweight and easy to install 🪶
See also this discussion.
Thank you @sunny for mentioning me. I received great feedback from Zeitwerk author and I'm going to update the post, probably today. I will post it here too.
Ok, I've updated the post. In the new "Limitations" section, there is a link to the original version if someone liked the previous approach better.