Feat: Correctly extracting boboko/core's js

This commit is contained in:
2026-09-28 08:46:14 +03:00
parent cd45d8f578
commit 8b362c9436
6 changed files with 53 additions and 8 deletions
+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);