Fix Yarn v3 compatibility issues

- Switch from rolldown-vite to regular vite for better CommonJS/ESM interop
- Replace @vitejs/plugin-react-oxc with @vitejs/plugin-react for compatibility
- Update vite config to remove rolldown-specific options
- Change minifier from oxc to esbuild
- Add packageExtensions for prop-types compatibility
- Add optimizeDeps configuration for better module resolution

This resolves the build failures caused by missing exports in prop-types and other CommonJS modules when using Yarn v3 with rolldown-vite.
This commit is contained in:
codegen-sh[bot] committed 2025-07-16 13:25:24 +00:00
1 parent f8f451fbe4
commit fbf7192ac2
2141 files changed
+552 -353

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loaded 100 of 2141 files, more files were not shown because too many files have changed in this diff. Show more