heartbeats
heartbeats copied to clipboard
using this library through a CDN
I'd like to use this library with CDN on RubyOnRails importmaps.
Is it possible to use something like import heartbeat from "heartbeats" instead of heartbeat = require("heartbeats")
Sorry if the question is nonsense. I'm not js experienced