2018-package-three-webpack-plugin
2018-package-three-webpack-plugin copied to clipboard
GLTFLoader doesn't work
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:
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.
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 😃
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!