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

Builds: Add deprecation warning to build/three.js and build/three.min.js. #25465

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Feb 7, 2023

Related issue: #25435 (comment)

Description

Like suggested in #25435 (comment), this PR adds a deprecation warning to build/three.js and build/three.min.js.

Right now, the warning mentioned r160 is the release where the builds are going to be removed and guides towards the Installation guide for alternatives setups.

I'm not sure we want to recommend the window.THREE = THREE; pattern since it is somewhat a hack. Ideally, users decide for an ESM workflow or a build tool.

@Mugen87 Mugen87 added this to the r150 milestone Feb 7, 2023
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