- Add comprehensive Company Wiki feature with complete state management - CompanyWikiManager, empty states, invite modals - Implement new Chat system with enhanced layout and components - ChatLayout, ChatSidebar, MessageThread, FileUploadInput - Create modern Login and OTP verification flows - LoginNew page, OTPVerification component - Add new Employee Forms system with enhanced controller - Introduce Figma-based design components and multiple choice inputs - Add new font assets (NeueMontreal) and robot images for onboarding - Enhance existing components with improved styling and functionality - Update build configuration and dependencies - Remove deprecated ModernLogin component
22 lines
500 B
TypeScript
22 lines
500 B
TypeScript
import path from 'path';
|
|
import { defineConfig, loadEnv } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
|
|
export default defineConfig(({ mode }) => {
|
|
const env = loadEnv(mode, process.cwd(), '');
|
|
const API_URL = env.VITE_API_URL || 'http://localhost:5173';
|
|
|
|
return {
|
|
plugins: [tailwindcss(), react()],
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: API_URL,
|
|
changeOrigin: true,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}); |