Skip to content

Upgrade Vite to version 8 and enhance configuration - #1543

Draft
cannarocks wants to merge 1 commit into
developfrom
update-vite-to-v8
Draft

Upgrade Vite to version 8 and enhance configuration#1543
cannarocks wants to merge 1 commit into
developfrom
update-vite-to-v8

Conversation

@cannarocks

Copy link
Copy Markdown
Member

Update Vite from version 5 to 8, refactor the Vite configuration for better structure, and improve SVG component handling with additional props support. Remove the vite-tsconfig-paths plugin and enable TypeScript path resolution directly in the Vite config. Additionally, bump the @vitejs/plugin-react to version 6.0.1 and add esbuild as a dependency.

- Bump @vitejs/plugin-react to version 6.0.1 and add esbuild as a dependency.
- Remove vite-tsconfig-paths plugin and enable tsconfig path resolution in Vite config.
- Refactor Vite config to improve structure and add rolldownOptions for code splitting.
- Enhance svgrPlugin to support color and style props for SVG components.
@cannarocks
cannarocks force-pushed the update-vite-to-v8 branch from e1fcf59 to e2f245a Compare May 29, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant