I was trying to extend the importmaps JSON generated because you can only have 1 importmap on a page.
The best I came up with was the following:
https://github.com/KonnorRogers/importmaps-sandbox-rails/blob/main/config/application.rb#L27-L118
Is there a better way to hook into the generated JSON?