38 lines
735 B
JavaScript
38 lines
735 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import tailwind from '@astrojs/tailwind';
|
|
import react from '@astrojs/react';
|
|
|
|
export default defineConfig({
|
|
integrations: [tailwind(), react()],
|
|
site: 'https://aethex-connect.com',
|
|
server: {
|
|
port: 4321,
|
|
host: 'localhost'
|
|
},
|
|
vite: {
|
|
define: {
|
|
global: 'globalThis',
|
|
},
|
|
optimizeDeps: {
|
|
include: [
|
|
'simple-peer',
|
|
'lucide-react',
|
|
'zustand',
|
|
'clsx',
|
|
'@radix-ui/react-popover',
|
|
'@radix-ui/react-dropdown-menu',
|
|
],
|
|
esbuildOptions: {
|
|
target: 'esnext'
|
|
}
|
|
},
|
|
server: {
|
|
hmr: {
|
|
timeout: 60000
|
|
},
|
|
watch: {
|
|
usePolling: false
|
|
}
|
|
}
|
|
}
|
|
});
|