Reducing bundle size: Previewing a new Firebase for the web
summary
New Firebase JavaScript SDK rewrites exports into modular SDK functions so bundlers like webpack rollup and esbuild can tree-shake unused code, cutting the main Firebase bundle from ~59 KB to ~30 KB (~50% smaller). Firestore Lite offers a Firestore Lite build that drops realtime and offline persistence for ~80% smaller size. A compat library enables incremental migration by exposing the v8 API while using the modular runtime and lets teams remove compat later to realize full savings.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:17Javascript Modules
- 4:54Current Firebase JS SDK
- 6:45New Firebase JS SDK
- 8:33Upgrading
- 10:22Outro
related talks
22mBuilding Fast Angular Applications from End
31m10KB or Bust" The Delicate Power of Webpack and Babel"
25mWhy web developers (should) love Firebase
52m10KB or Bust: The Delicate Power of Webpack and Babel
58m10KB or Bust: The Delicate Power of Webpack and Babel
20mTools for Fast Angular Applications
32mLet's Tree-shake it...
08mHow to Reduce Your Vue Bundle Size With Webpack
