I have an old service account configured in my admin app like this.
const serviceAccount = import("./../../serviceaccountdetails.json");
const firebaseApp=admin.initializeApp({
credential: admin.credential.cert(serviceAccount as admin.ServiceAccount),
When I type npm run build
after I make changes the changes do not reflect when I make new changes. I need this service account details to generate signed image urls in host.
When I commented the service account lines above, make changes and run npm run build the changes reflect when I run npm run serve.
Like this:
//const serviceAccount = import("./../../serviceaccountdetails.json");
const firebaseApp=admin.initializeApp({
// credential: admin.credential.cert(serviceAccount as admin.ServiceAccount),