diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/js/viewer.js b/js/viewer.js index 69a6572..f96f750 100644 --- a/js/viewer.js +++ b/js/viewer.js @@ -1,6 +1,6 @@ -import * as THREE from "../node_modules/three"; -import { STLLoader } from "../node_modules/three/examples/jsm/loaders/STLLoader"; -import { TrackballControls } from "../node_modules/three/examples/jsm/controls/TrackballControls"; +import * as THREE from "three"; +import { STLLoader } from "three/examples/jsm/loaders/STLLoader"; +import { TrackballControls } from "three/examples/jsm/controls/TrackballControls"; function main() { const canvas = document.querySelector("#c");