We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd95837 commit 7309083Copy full SHA for 7309083
frontend/vite.config.js
@@ -1,8 +1,12 @@
1
import { defineConfig } from 'vite'
2
import react from '@vitejs/plugin-react'
3
import tailwindcss from '@tailwindcss/vite'
4
+import { fileURLToPath } from 'url'
5
import path from 'path'
6
7
+const __filename = fileURLToPath(import.meta.url)
8
+const __dirname = path.dirname(__filename)
9
+
10
// https://vitejs.dev/config/
11
export default defineConfig({
12
plugins: [
0 commit comments