2018-package-three-webpack-plugin icon indicating copy to clipboard operation
2018-package-three-webpack-plugin copied to clipboard

GLTFLoader doesn't work

Open marcofugaro opened this issue 6 years ago • 2 comments

When I use the GLTF loader with this plugin like this:

import { GLTFLoader } from 'three/examples/js/loaders/GLTFLoader'

When I use it and import something this error happens:

image

It does not happen if I copy the GLTFLoader locally add the import and export manually.

I tried to find the source of this problem, but I didn't find it, I was not able to find if this loader requires any other dependencies.

marcofugaro avatar Dec 30 '18 19:12 marcofugaro

Sorry I can't look into it right away (customer projects are taking all my time at the moment), but it's definitely one of the loaders I also need working in the next release of the plugin.

In the meantime, happy new year 😃

cecilemuller avatar Dec 31 '18 08:12 cecilemuller

Happy new year to you as well! 😄

Looking forward to the next release! I love using this plugin because right now it's the only solution which is both future-proof and tree-shakable!

marcofugaro avatar Dec 31 '18 13:12 marcofugaro