wind-vue/vite.config.ts

15 lines
302 B
TypeScript
Raw Normal View History

2022-05-10 21:40:53 +00:00
import { fileURLToPath, URL } from "url";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
});