You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"//": "Bun (test + build) module resolution for the gem's client runtime. The controller imports the BARE specifier `phlex/reactive/confirm` (issue #57: a relative `./confirm.js` 404s under importmap-rails + Propshaft). Real apps resolve that bare specifier through the import map (importmap, engine-pinned) or their bundler's gem path mapping; the bun JS suite imports the controller from disk, so it needs this `paths` alias to resolve the same bare specifier. The `@hotwired/stimulus` alias is for the client BENCH suite only (`rake bench:client`, a plain `bun run` — not `bun test`, which mock.modules it): mitata benches drive the controller's public surface off-browser, so stimulus is aliased to a one-line no-op base class. The JS TEST suite still calls `mock.module(\"@hotwired/stimulus\", …)`, which supersedes this alias — so tests are unaffected.",