import { defineConfig } from 'vite'; import laravel from 'laravel-vite-plugin'; import react from '@vitejs/plugin-react'; export default defineConfig({ plugins: [ laravel({ input: 'resources/js/app.tsx', refresh: true, }), react(), ], // manifest: true, // This should match the folder where Vite is outputting your assets build: { outDir: 'public/build', // Ensure this matches the output directory // other build options }, });