Feat: Correctly extracting boboko/core's js

This commit is contained in:
arvanitakis committed 2026-09-28 08:42:31 +03:00
1 parent cd45d8f578
commit 1dab4923e4
10 files changed
+114 -42

No files matched your search

+4 -3
View File
@@ -10,13 +10,14 @@ window.Turbo.session.drive = false;
import { Application } from "@hotwired/stimulus";
import { registerControllers } from "./stimulus/index";
import { registerCheckout } from "./checkout";
import { registerCheckout } from "@boboko/core";
const application = Application.start();
application.debug = false;
registerControllers(application);
// Portable cart + checkout module (destined for boboko-core). Owns its own
// bbk-* Stimulus controllers; this is the only wiring line it needs here.
// Portable cart + checkout module, installed as a real npm dependency (see
// package.json). Owns its own bbk-* Stimulus controllers; this is the only
// wiring line it needs here.
registerCheckout(application);