I cannot use import statements in my project, how to import GLTFLoader in my project.
this does not work:
const GLTFLoader = require(‘three/examples/jsm/loaders/GLTFLoader.js’);
and there is no js directory
const GLTFLoader = require(‘three/examples/js/loaders/GLTFLoader.js’);