Skip to content

r3f: three peer range >= 0.180.0 (HDRLoader first ships in 0.180) - #118

Merged
shinyobjectz merged 1 commit into
shinyobjectz:mainfrom
Ragulsundaram:fix-r3f-three-peer-range
Nov 12, 2026
Merged

shinyobjectz merged 1 commit into
shinyobjectz:mainfrom
Ragulsundaram:fix-r3f-three-peer-range

Conversation

@Ragulsundaram

Copy link
Copy Markdown
Contributor

Fixes #116.

src/three/scene.ts imports HDRLoader, which three added in 0.180; with three 0.170-0.179 (inside the old range) every <R3F> scene fails to bundle. Checked on 0.1.1-rc3: a plain <R3F> box fails on 0.179 and renders on 0.180. HDRLoader is the only addon raea/r3f imports that 0.179 lacks.

src/three/scene.ts imports three/examples/jsm/loaders/HDRLoader.js, added in three 0.180; with three 0.170-0.179,
inside the old range, every <R3F> scene fails to bundle.
@shinyobjectz
shinyobjectz merged commit 8750060 into shinyobjectz:main Nov 12, 2026
4 checks passed
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.

raea/r3f needs three >= 0.180 (it imports HDRLoader), but its peer range says >= 0.170

2 participants