Stimulus - Controller inheritance using manually registered controllers & Sprockets

Hello there.

I’m trying to implement Stimulus in a project where Sprockets is still used. Because of that, I had to use manually registered controllers while loading controller files with Sprockets. I know that controller inheritance using Webpack is pretty easy, but I found no solution for inheritance when using manually registered controllers. Is there any way to do that?

Any help would be appreciated.