Есть такой конфиг
const firebaseConfig = {
apiKey: process.env.FIREBASE_API_KEY,
authDomain: process.env.FIREBASE_AUTH_DOMAIN,
databaseURL: process.env.FIREBASE_DATABASE_URL,
projectId: process.env.FIREBASE_PROJECT_ID,
storageBucket: process.env.FIREBASE_STORAGE_BUCKET,
messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID,
appId: process.env.FIREBASE_APP_ID
};
И env файл
FIREBASE_API_KEY = *************************************
FIREBASE_AUTH_DOMAIN = auth-examplec.firebaseapp.com
FIREBASE_DATABASE_URL = https://auth-examplec-default-rtdb.firebaseio.com
FIREBASE_PROJECT_ID = auth-examplec
FIREBASE_STORAGE_BUCKET = auth-examplec.appspot.com
FIREBASE_MESSAGING_SENDER_ID = 724261682760
FIREBASE_APP_ID = 1:724261682760:web:12652068e198094cdee27d
Но при сборке ошибка ReferenceError: process is not defined