How to best add activestorage.js to a hotwire no webpacker setup?

Vanilla Rails + Hotwire install has
/assets/javascripts/controllers for Stimulus
/assets/javascripts/libraries for other ESM modules

There isn’t an application.js by default and I’m not sure going forward in this new setup if that’s the best way to do it?

  1. Create /assets/javascripts/application.js
  2. Add //= require activestorage to it
  3. Add <%= javascript_include_tag "application", type: "module-shim" %> to application.html.erb?