update website

This commit is contained in:
ehab-hassan
2025-08-24 13:47:03 +03:00
commit 9b5aefeb91
142 changed files with 24225 additions and 0 deletions

22
vite.config.js Normal file
View File

@@ -0,0 +1,22 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import path from 'path'
// https://vite.dev/config/
export default defineConfig({
base: process.env.VITE_APP_BASE_URL || '/',
plugins: [react(),tailwindcss()],
assetsInclude: ['**/*.md'],
define: {
global: 'window',
'process.env': {}, // Define process.env as an empty object
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
// Alias 'buffer' to 'buffer/index.js' for browser compatibility
'buffer': 'buffer/index.js',
},
},
})