Redirector/vite.config.ts

15 lines
300 B
TypeScript
Raw Permalink Normal View History

2024-03-16 09:17:32 +00:00
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))
}
},
})