© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago
Juliano

Script size too big in an Edge function

Anyone know if it's possible to somehow reduce the script size when using the firebase admin sdk? I'm importing things from it like so:
import { app } from 'npm:firebase-admin'
import { Message } from 'npm:firebase-admin/messaging'
import { cert, initializeApp } from 'npm:firebase-admin/app'
import { app } from 'npm:firebase-admin'
import { Message } from 'npm:firebase-admin/messaging'
import { cert, initializeApp } from 'npm:firebase-admin/app'

I'm unable to use the firebase admin sdk because I'm getting a script siver over 10MB when using it.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Database size too big
SupabaseSSupabase / help-and-questions
2w ago
Edge functions taking too long
SupabaseSSupabase / help-and-questions
2mo ago
EarlyDrop in edge function
SupabaseSSupabase / help-and-questions
7mo ago
Edge Function
SupabaseSSupabase / help-and-questions
5mo ago