.registerPoetryControllers(application)
The bundler-host one-liner: registers every poetry controller on the host's Stimulus application (importmap hosts get the same registrations via the engine's pins + this same call in their controllers/index.js), arms the portal event bridge, and installs the unregistered-controller warning.
-
application(import("@hotwired/stimulus").Application) —
Returns (import("@hotwired/stimulus").Application) — the application, for chaining