@raw sundial Looks like it's being imported incorrectly somewhere. I'd guess it's import firebase from "firebase/compat/app" but it's strange that that's erroring as _app in the compiled code.
@raw sundial You probably should use import /*path*/ not require("path"), but I'd be surprised if the issue is from the imports that aren't being used in the file.