stepfileviewer
stepfileviewer copied to clipboard
Pin version of Three.js (website broken)
Hello, you used a non-versioned source for Three.js, so when they release breaking changes it breaks the app.
Do you mind updating to use a versioned Three.js source?
One way is to install a specific version with npm
, and load it from local node_modules rather than from threejs.org.
Another way is to use unpkg
(CDN for NPM), and you can load a versioned URL like this one: https://unpkg.com/[email protected]/build/three.min.js
Then this way, the site won't break because it will always use the same version of Three.js until you manually update it.