π OpenHands: AI-Driven Development
fix: prebundle cjs deps in vite dev (#186)
Xingyao Wang6c42979535e6
diff --git a/vite.config.ts b/vite.config.tsindex 67c372c9b5..628834658c 100644--- a/vite.config.ts+++ b/vite.config.ts@@ -124,6 +124,10 @@ export default defineConfig(({ mode }) => {"react-icons/fa","clsx","tailwind-merge",+ // CJS dependencies used by react-transition-group. Without pre-bundling,+ // Vite can serve them directly to the browser before route hydration.+ "prop-types",+ "react-is","@heroui/react","lucide-react","@microlink/react-json-view",