2026-07-30 14:48:25 +08:00
|
|
|
import path from "node:path"
|
2026-09-20 15:52:22 +08:00
|
|
|
import { icones } from "@icones/vite"
|
2026-07-30 14:48:25 +08:00
|
|
|
import react from "@vitejs/plugin-react"
|
|
|
|
|
import { defineConfig } from "vitest/config"
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
2026-09-20 15:52:22 +08:00
|
|
|
plugins: [icones({ mode: "symbol", emitData: false }), react()],
|
2026-07-30 14:48:25 +08:00
|
|
|
resolve: {
|
|
|
|
|
alias: {
|
|
|
|
|
"@": path.resolve(__dirname, "./src"),
|
|
|
|
|
},
|
|
|
|
|
tsconfigPaths: true,
|
|
|
|
|
},
|
|
|
|
|
test: {
|
|
|
|
|
environment: "jsdom",
|
|
|
|
|
},
|
|
|
|
|
})
|