File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,11 @@ const getDefaultsFromGlobal = (): FirebaseDefaults | undefined =>
5353
5454/**
5555 * Attempt to read defaults from a JSON string provided to
56- * process.env.__FIREBASE_DEFAULTS__ or a JSON file whose path is in
57- * process.env.__FIREBASE_DEFAULTS_PATH__
56+ * process(.)env(.)__FIREBASE_DEFAULTS__ or a JSON file whose path is in
57+ * process(.)env(.)__FIREBASE_DEFAULTS_PATH__
58+ * The dots are in parens because certain compilers (Vite?) cannot
59+ * handle seeing that variable in comments.
60+ * See https://github.com/firebase/firebase-js-sdk/issues/6838
5861 */
5962const getDefaultsFromEnvVariable = ( ) : FirebaseDefaults | undefined => {
6063 if ( typeof process === 'undefined' || typeof process . env === 'undefined' ) {
You can’t perform that action at this time.
0 commit comments