import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import path from 'path'; // https://vite.dev/config/ export default defineConfig({ plugins: [react()], server:{ host: true, allowedHosts: ['shift.code-catalyst.com']\ cors: true, hmr: { protocol: 'wss', host: 'shift.code-catalyst.com', clientPort: 443, }, }, resolve: { alias: { '@src': path.resolve(__dirname, 'src'), '@components': path.resolve(__dirname, 'components') }, }, });