import { defineUserConfig } from "vuepress";
import { removePwaPlugin } from "@vuepress/plugin-remove-pwa"
import theme from "./src/theme.hope.js";

export default defineUserConfig({
  base: "/",

  lang: "zh-CN",
  title: "SilverAg.L",
  description: "his personal blogs",

  temp: ".temp",
  cache: ".cache",
  public: "public",
  dest: "dist",

  theme,

  shouldPrefetch: false,
  plugins: [
    removePwaPlugin({}),
  ],

  head: [
    [
      "link",
      {
        href: "https://npm.onmicrosoft.cn/",
        rel: "preconnect",
        crossorigin: "",
      },
    ],
    [
      "link",
      {
        href: "https://npm.onmicrosoft.cn/@agxcoy/lxgw-wenkai-vp-hope@latest/style.css",
        rel: "stylesheet",
      },
    ],
  ],
});
