Redirector/vite.config.ts
2024-03-16 17:17:32 +08:00

15 lines
300 B
TypeScript

import { fileURLToPath, URL } from "node:url"
import { defineConfig } from "vite"
import unocss from "unocss/vite"
// https://vitejs.dev/config/
export default defineConfig({
plugins: [unocss()],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url))
}
},
})