Why am I getting Uncaught TypeError: Td in Firebase?

I am implementing Firebase web API using Webpack and Express. My bundled webpack script file has been producing these strange errors:

Uncaught TypeError: Td is not a function
    at bundle.js:2:266675
    at bundle.js:2:273242
    at bundle.js:2:273246
bundle.js:2 Uncaught (in promise) ReferenceError: require is not defined
    at Object.566 (bundle.js:2:3803)
    at o (bundle.js:2:3931)
    at Function.o.t (bundle.js:2:4077)

Since this is happening in the bundle.js file, it is all on one line and difficult to read. However, I found the Td function referenced in bundle.js here:

var Td=Promise.resolve()
.then(o.t.bind(o,566,23)),
bd=o.e(846)
.then(o.t.bind(o,846,23)),
_d=Td();

...

I am deeply confused on what is causing this issue. I just did npm update on my directory. I was originally getting the same error but the function was labeled as “ld”, and then it changed to “Td” after updating. Could it be an error in Firebase’s recent release, or something else?

If anyone wanted to look at the source code, you can view it in the console on the site I’m publishing to:

https://milkywaymedium.com/