Use importmap + stimulus + controllers from an engine

Hello :raised_hand:

I have a rails 7 app that uses importmap and an engine (generated with rails new plugin …).

The engine holds some stimulus controllers and i wanted to use them in the rails 7 app.

Can this setup works ? :thinking:

Thank you so much for your help

Tom