export default {
  workbox: {
    importScripts: ["/sw/push.js"],
  },
  includeAssets: [
    "favicon.ico",
    "*.png",
  ],
  registerType: "autoUpdate",
  manifest: {
    lang: "fr",
    name: "Khollisé ⚔️",
    short_name: "Khollisé",
    description: "BJColle but faster, better and prettier ⚡️",
    theme_color: "#0d0d0d",
    background_color: "#f4efe3",
    orientation: "portrait",
    display: "standalone",
    icons: [
      {
        src: "/web-app-manifest-192x192.png",
        sizes: "192x192",
        type: "image/png",
      },
      {
        src: "/web-app-manifest-512x512.png",
        sizes: "512x512",
        type: "image/png",
      },
    ],
  },
  injectRegister: "script",
  strategies: "generateSW",
};
