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.
has_runtime_config
1 parent 148a321 commit 08f79fdCopy full SHA for 08f79fd
src/deploy/functions/prepare.ts
@@ -100,6 +100,10 @@ export async function prepare(
100
runtimeConfig = { ...runtimeConfig, ...(await getFunctionsConfig(projectId)) };
101
}
102
103
+ // Track whether legacy runtime config is present (i.e., any keys other than the default 'firebase').
104
+ // This drives GA4 metric `has_runtime_config` in the functions deploy reporter.
105
+ context.hasRuntimeConfig = Object.keys(runtimeConfig).some((k) => k !== "firebase");
106
+
107
const wantBuilds = await loadCodebases(
108
context.config,
109
options,
0 commit comments