Found the following instructions that got me to the point where esbuild replaced import maps and bootstrap was installed.
https://mixandgo.com/learn/ruby-on-rails/how-to-install-bootstrap
You will find that even after fixing the Javascript issues Javascript still does not work. When looking in the log files I saw there were issues with trix loading as well as issues with importing stimulus controllers.
What I ended up doing was modifying package.json
and add the following:
"@rails/actiontext": "^7.0.4",