Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VRButton: Test navigator for SSR. #26915

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Conversation

CodyJasonBennett
Copy link
Contributor

Related issue: #XXXX

Description

Noticed that only VRButton breaks Node/Edge compatibility for SSR with the unconditional use of navigator.

With #26910, I tested with node examples/jsm/Addons.js which should run without error.

@Mugen87 Mugen87 added this to the r158 milestone Oct 9, 2023
@Mugen87 Mugen87 merged commit 5ef9a2b into mrdoob:dev Oct 9, 2023
17 checks passed
@CodyJasonBennett CodyJasonBennett deleted the vrbutton/ssr branch October 9, 2023 12:32
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