Files
taoyao/taoyao-client-web/vite.config.js
2023-02-12 21:16:08 +08:00

17 lines
330 B
JavaScript

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import { fileURLToPath, URL } from "node:url";
export default defineConfig({
plugins: [vue()],
server: {
port: 8443,
host: "0.0.0.0",
},
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
});