BasisTextureLoader not working when loaded as a module

Hi everyone!

I’ve been trying to use the BasisTextureLoader importing it as a module and creating a bundle on the application using webpack.
The example is pretty straightforward based on the current basis example on threejs:

It throws a bunch of errors on chrome and in firefox even if the transcoder code seems to be fetched correctly.

Any idea about what is going on here?


Solved! It was a revision mismatch between the module dependency and the transcoder I was using. updating everything to r109 or r110 fixed the problem. Thanks and sorry for the noise!

1 Like