Skip to content

Including @react-three/xr in my project add multiple large files to my build, for example meeting_room-COtFIOij.js and living_room-CVCYIB7e.js #475

@Bossieh

Description

@Bossieh

When I include @react-three/xr in my project multiple large .js files are added to my build, for example meeting_room-COtFIOij.js and living_room-CVCYIB7e.js.

Is there any way to prevent this from happening?

Snippet of my package.json:

    "@react-three/xr": "6.6.27",
    "@react-three/drei": "10.7.5",
    "@react-three/fiber": "9.3.0",
    "three": "0.180.0",
    "typescript": "5.9.2",
    "vite": "7.2.4"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions