chore: downgrade Vite 8 → 7 for Tailwind CSS compatibility#137
Conversation
|
https://vite.dev/guide/migration make sure to follow the migration guide @copilot |
Co-authored-by: lfarci <31938998+lfarci@users.noreply.github.com>
…ation guide Co-authored-by: lfarci <31938998+lfarci@users.noreply.github.com>
Reviewed the migration guide and applied the relevant change: added The other Vite 8 breaking changes (Rolldown bundler, Oxc transforms/minification, Lightning CSS, CJS interop, deprecated Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot I got the following error |
Co-authored-by: lfarci <31938998+lfarci@users.noreply.github.com>
Fixed in commit |
|
@copilot Make sure vite 8 support tailwind https://benjamincrozat.com/tailwind-css-vite-8-support |
Co-authored-by: lfarci <31938998+lfarci@users.noreply.github.com>
Done in commit "overrides": {
"@tailwindcss/vite": {
"vite": "$vite"
}
}
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: lfarci <31938998+lfarci@users.noreply.github.com>
|



@tailwindcss/vitedeclarespeerDependencies: { vite: "^5.2.0 || ^6 || ^7" }— Vite 8 is not yet supported, makingnpm cifail in CI.Changes
vite:^8.0.0→^7.3.1@vitejs/plugin-react:^6.0.1→^5.2.0— v6 requires Vite 8; v5 covers Vite 4–7overridesremoved — was a targeted workaround for the peer dep conflict; no longer needed on Vite 7moduleType: "js"removed fromvite-plugin-markdown.ts— Rolldown-specific; not part of Vite 7's transform APIOriginal prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.