Skip to content

Fix Vite 7 build failures in CSG and Mantine demos - #93

Merged
abernier merged 3 commits into
vite7from
copilot/sub-pr-88
Dec 29, 2025
Merged

Fix Vite 7 build failures in CSG and Mantine demos#93
abernier merged 3 commits into
vite7from
copilot/sub-pr-88

Conversation

Copilot AI commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

Three demos failed to build after the Vite 7 upgrade due to incompatible dependency versions.

Changes

  • CSG demos (csg-bunny-usegroups, csg-operations-rapier-physics): Updated @react-three/csg from v2.x to v4.0.0

    • Fixes SphereBufferGeometry import error from outdated three-bvh-csg v0.0.5 (v4.0.0 uses v0.0.16 with modern Three.js APIs)
  • Multiple views demo (multiple-views-with-uniform-controls): Added @emotion/react ^11.11.1

    • Satisfies peer dependency required by @mantine/core v5.x
// Before (csg-bunny-usegroups)
"@react-three/csg": "^2.2.0"

// After
"@react-three/csg": "^4.0.0"
// Before (multiple-views-with-uniform-controls)
"@mantine/core": "^5.10.5"

// After
"@emotion/react": "^11.11.1",
"@mantine/core": "^5.10.5"

馃挕 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits December 29, 2025 13:28
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade Vite build toolchain to version 7 Fix Vite 7 build failures in CSG and Mantine demos Dec 29, 2025
Copilot AI requested a review from abernier December 29, 2025 13:33
@abernier
abernier marked this pull request as ready for review December 29, 2025 13:52
@abernier
abernier merged commit 91bcfd4 into vite7 Dec 29, 2025
2 checks passed
abernier added a commit that referenced this pull request Dec 29, 2025
* .

* Fix Vite 7 build failures in CSG and Mantine demos (#93)

* Initial plan

* Initial investigation of build failures

Co-authored-by: abernier <76580+abernier@users.noreply.github.com>

* Fix build failures for CSG and multiple-views demos

Co-authored-by: abernier <76580+abernier@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
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