Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Using this in a THREE.js project ' Multiple instances of Three.js being imported.' #2

Closed
fariskas opened this issue Jun 30, 2022 · 2 comments

Comments

@fariskas
Copy link

Hello,

I am trying to use this library in an existing three.js project, having installed it via npm, and included it in my code,

I am getting a WARNING: Multiple instances of Three.js being imported.

Checking the three-noise module files, i waw that this library also imports threejs within it. Will this be an issue in regards to duplication of library imports?

@drone1
Copy link

drone1 commented Jan 25, 2024

THREE.js is quite massive and so this is quite a problem for bundle size, having 2 different versions of THREE.js loaded and fighting each other. Is this something you plan to look into? It would be great if your library could take THREE as an argument for initialization, and simply try to use that, for example. Thanks a lot!

@FarazzShaikh
Copy link
Owner

This project was created when I was a noob and is now read-only untill I have some time to bring it up to modern standards. Feel free to become a sponsor or reach out via email if you'd like to fund its developement.

Thanks for your intrest in my library 🙌

@FarazzShaikh FarazzShaikh closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants