2026-08-12 21:18:47 +07:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
|
import react from '@vitejs/plugin-react'
|
2026-08-12 22:15:06 +07:00
|
|
|
import tailwindcss from '@tailwindcss/vite'
|
2026-09-03 21:49:25 +07:00
|
|
|
import { fileURLToPath } from 'url'
|
|
|
|
|
import path from 'path'
|
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
2026-08-12 21:18:47 +07:00
|
|
|
|
|
|
|
|
export default defineConfig({
|
2026-08-12 22:15:06 +07:00
|
|
|
plugins: [react(), tailwindcss()],
|
2026-09-03 21:49:25 +07:00
|
|
|
resolve: {
|
|
|
|
|
alias: {
|
|
|
|
|
'@': path.resolve(__dirname, './src'),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
})
|