Skip to content

feat: optimize Vite configuration for Radix UI components - #28

Merged
giswqs merged 1 commit into
mainfrom
radix
May 29, 2026
Merged

feat: optimize Vite configuration for Radix UI components#28
giswqs merged 1 commit into
mainfrom
radix

Conversation

@giswqs

@giswqs giswqs commented May 29, 2026

Copy link
Copy Markdown
Member
  • Added RADIX_OPTIMIZE_EXCLUDES to exclude specific Radix UI components from dependency optimization, improving build performance and reducing bundle size.
  • Updated Vite configuration to include the new optimization settings.

- Added RADIX_OPTIMIZE_EXCLUDES to exclude specific Radix UI components from dependency optimization, improving build performance and reducing bundle size.
- Updated Vite configuration to include the new optimization settings.
Copilot AI review requested due to automatic review settings May 29, 2026 15:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GeoLibre Desktop app’s Vite configuration to adjust dependency pre-bundling behavior for specific Radix UI packages.

Changes:

  • Added a RADIX_OPTIMIZE_EXCLUDES list containing selected @radix-ui/* packages.
  • Configured optimizeDeps.exclude in apps/geolibre-desktop/vite.config.ts to use that list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +103 to +105
optimizeDeps: {
exclude: RADIX_OPTIMIZE_EXCLUDES,
},
@github-actions

Copy link
Copy Markdown
Contributor

Netlify preview: https://pr-28--opengeos.netlify.app

@giswqs
giswqs merged commit 6357199 into main May 29, 2026
5 checks passed
@giswqs
giswqs deleted the radix branch May 29, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants