My motivation behind this change is to be able to update to newer three.js versions later.
The first commit removes the usage of 'top' from editor.js, because it was causing a cross origin error which made the editor not load in.
This is a temporary fix
Second commit:
Add three.js npm dependency
Remove three.js files from 'media' folder (still keep editor files)
Update three.js from r89 to r93 (last version which had a @types package before getting removed, then re-added later in r131
My motivation behind this change is to be able to update to newer three.js versions later.
The first commit removes the usage of 'top' from editor.js, because it was causing a cross origin error which made the editor not load in. This is a temporary fix
Second commit: