claudiug said over 2 years ago on Importmaps in Rails 7 :
can I used both of them, for example
use Importmaps to load any js library, and esbuild to load css libraries?

It looks a mess for me. Everyting tangle and connected and impossible to remove.
 - importmaps => no idea of css
 - esbuild
 - webpacker
 - sprockets
 - and another library to replace sprockets in 10 years.

a mess.