// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails import "htmx.org" import htmx from "htmx.org" htmx.logger = function(elt, event, data) { if(console) { console.log(event, elt, data); } }