the statusphere demo reworked into a vite/react app in a monorepo
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 9be6e7584ae2e15de193a4acc82e76ad29fc2ee5 31 lines 618 B view raw
1import path from 'node:path' 2import tailwindcss from '@tailwindcss/vite' 3import react from '@vitejs/plugin-react' 4import { defineConfig } from 'vite' 5 6// https://vitejs.dev/config/ 7export default defineConfig({ 8 plugins: [ 9 react({ 10 babel: { 11 plugins: [['babel-plugin-react-compiler', { target: '19' }]], 12 }, 13 }), 14 tailwindcss(), 15 ], 16 server: { 17 host: '127.0.0.1', 18 port: 3000, 19 proxy: { 20 '/api': { 21 target: 'http://localhost:3001', 22 changeOrigin: true, 23 }, 24 }, 25 }, 26 resolve: { 27 alias: { 28 '#': path.resolve(__dirname, './src'), 29 }, 30 }, 31})