We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4a09cf commit cc7a691Copy full SHA for cc7a691
packages/util/postinstall.js
@@ -76,6 +76,11 @@ try {
76
return partialConfig;
77
}
78
const projectId = partialConfig.projectId || '-';
79
+ // If the projectId starts with demo- this is an demo project from the firebase emulators
80
+ // treat the config as whole
81
+ if (projectId.startsWith('demo-')) {
82
+ return partialConfig;
83
+ }
84
const appId = partialConfig.appId;
85
const apiKey = partialConfig.apiKey;
86
if (!appId || !apiKey) {
0 commit comments