import "./bootstrap";
import Alpine from "alpinejs";

// Prevent double initialization if Alpine is already provided by legacy bundles
if (!window.Alpine) {
    window.Alpine = Alpine;
    Alpine.start();
} else {
    console.warn("Alpine.js already initialized by another script. Skipping Vite initialization to avoid conflicts.");
}
