/*
 * WHAT IS THIS FILE?
 *
 * It's the entry point for the Azure Static Web Apps middleware when building for production.
 *
 * Learn more about the Azure Static Web Apps integration here:
 * - https://qwik.dev/docs/deployments/azure-swa/
 *
 */
import { manifest } from "@qwik-client-manifest";
import qwikRouterConfig from "@qwik-router-config";
import {
  createQwikRouter,
  type PlatformAzure,
} from "@qwik.dev/router/middleware/azure-swa";
import render from "./entry.ssr";

declare global {
  interface QwikRouterPlatform extends PlatformAzure {}
}

export default createQwikRouter({ render, qwikRouterConfig, manifest });
