Nobuild with Rails and Importmap
https://mariochavez.io/desarrollo/2024/11/28/nobuild-with-rails-and-importmap/
For sharing JavaScript code with the host application, like Stimulus controllers, create a partial Importmap configuration file and set the engine to merge it with the main one in the host application.