Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/firebase/firebase-tools
/ init.js
File
init.js
templates/hosting/init.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
if
(typeof firebase ===
'undefined'
) throw
new
Error(
'hosting/init-error: Firebase SDK not detected. You must include it before /__/firebase/init.js'
);
2
/*--CONFIG--*/
3
if
(firebaseConfig) {
4
firebase.initializeApp(firebaseConfig);
Callers
nothing calls this directly
Calls
1
log
Method · 0.45
Tested by
no test coverage detected