I have made a simple game in three.js and want to be able to save a high score to a database, but anytime I try to use a database module, more specifically, the replit database, all of the three.js code stops working.
I have tried to import the replit database module in the file, but it doesn't work, anytime I try and reference another file from the three.js script, all of it stops working.
this is how I have three.js imported
import * as THREE from "https://cdn.skypack.dev/[email protected]";