Files
taoyao/taoyao-client-web/vite.config.js
acgist 5f85dfccca [+]
2023-02-11 22:11:51 +08:00

16 lines
314 B
JavaScript

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