Whenever I try to use const loader = new GLTFLoader(); in three.js, I encounter the error app.js:63 Uncaught ReferenceError: GLTFLoader is not defined. Even though it is imported in index.html, this error persists
<script src="./three.min.js"></script>
<script src="./OBJLoader.js"></script>
<script src="./GLTFLoader.js"></script>
<script src="./app.js"></script>