15 lines
300 B
TypeScript
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))
|
|
}
|
|
},
|
|
})
|