How To Use Importmaps With Rails Discussion
I don't feel comfortable not compressing all my files into a single minified package. It's strange to expect all my JS files to be so explicit for anyone to read and copy. I prefer to continue using esbuild.
What do you think you have in your JS files for not anyway to be able to read and learn from them? That pseudo protectionism is what's killing the web. Right-click -> View Source is how many learned to program
I had a real fight on my hands a month or two ago making them work with engines (then saw you put a video up, Chris!) It does seem the asset pipeline docs really could do with an update and point you down either an importmaps/propshaft OR sprockets/etc route.
I know the Rails Foundation is working on updating all of the guides so I'm sure it's on their todo list!