Files
microsoft--jarvis/hugginggpt/web/vite.config.ts
T
2026-07-13 13:23:21 +08:00

22 lines
421 B
TypeScript

import { fileURLToPath, URL } from "node:url";
import path from "path";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
// https://vitejs.dev/config/
export default defineConfig({
server: {
host: "0.0.0.0",
port: 9999,
open: true,
cors: true,
},
plugins: [vue()],
base: "./",
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});