Files
Mainpage/vite.config.js

24 lines
510 B
JavaScript
Raw Permalink Normal View History

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import path from "path";
import sitemap from "vite-plugin-sitemap";
2025-03-01 21:30:49 +08:00
export default defineConfig({
plugins: [
vue(),
sitemap({
hostname: "https://www.kisechan.space",
routes: [
{ path: "/", name: "主页" },
{ path: "/links", name: "友链" },
{ path: "/tools", name: "工具" },
],
}),
],
2025-03-02 22:42:09 +08:00
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});