Looks like firebase lib tried to add an extra script file from google.
You might want to join the discord - TwitchDev and see what other people have done to solve the firebase issue.
As you’ve run into a “getting firebase to work in an extension” specific issue