I’m not totally sure about the issue you’re describing, but it sounds like maybe something with multiple versions of the three
library getting loaded? I could see if a plugin library like this declared one version of three
as a dependency but the consuming project used a different version, that could result in both being bundled and conflicting. For Troika I avoid that by declaring three
as a “peer dependency” and give it a range of versions that I’ve tested it will work with. It’s then up to the consuming project to provide the exact dependency.
1 Like