Also, the Firebase package you used for the comparison includes everything (auth, db, storage, etc). If you only take into account the realtime DB driver it weights around 51kB:
I appreciate you giving in more insight. My bad for not making the post a bit longer but I was using auth, db and storage within my previous setup. Currently I use fauna for the database, have setup a simple authentication within my app without adding any dependency, I host my images on cloudinary and control the image management through a single Vue component, where with this new setup I've cut back on bundle size compared to the firebase setup. But also as you pointed out above unless I haven't grasped it correctly even with the polyfills the amount that fauna adds to the bundle size is a bit short of that of firebase's database driver alone.
While I prefer Fauna over Firebase 1000x, the bundle size comparison is not correct.
On the browser, the Fauna driver requires polyfills from NodeJS to be able to work which makes it about 48kB gzip (178kB minified).
See for yourself: cdn.jsdelivr.net/npm/faunadb@4.0.0...
Also, the Firebase package you used for the comparison includes everything (auth, db, storage, etc). If you only take into account the realtime DB driver it weights around 51kB:
bundlephobia.com/result?p=@firebas...
I appreciate you giving in more insight. My bad for not making the post a bit longer but I was using auth, db and storage within my previous setup. Currently I use fauna for the database, have setup a simple authentication within my app without adding any dependency, I host my images on cloudinary and control the image management through a single Vue component, where with this new setup I've cut back on bundle size compared to the firebase setup. But also as you pointed out above unless I haven't grasped it correctly even with the polyfills the amount that fauna adds to the bundle size is a bit short of that of firebase's database driver alone.
Yeah it's a bit smaller but the difference is negligible when both are so heavy.