# Trim your JavaScript bundles with Firestore Lite

DevFeed: [Trim your JavaScript bundles with Firestore Lite](<https://devfeed.tech/articles/trim-your-javascript-bundles-with-firestore-lite-16509.md>)

Original publisher: [Read original article](<https://firebase.blog/posts/2023/03/trim-javascript-bundles-firestore-lite>)

Author: Christina Holland

Published: 2023-03-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Firebase Blog](<https://devfeed.tech/sources/firebase-blog.md>)

Topics: [Firestore](<https://devfeed.tech/topics/firestore.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>), [npm](<https://devfeed.tech/topics/npm.md>), [Web](<https://devfeed.tech/topics/web.md>)

Tags: [firebase](<https://devfeed.tech/tags/firebase.md>), [firestore](<https://devfeed.tech/tags/firestore.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [npm](<https://devfeed.tech/tags/npm.md>), [sdks](<https://devfeed.tech/tags/sdks.md>), [web](<https://devfeed.tech/tags/web.md>), [webpack](<https://devfeed.tech/tags/webpack.md>)

## AI overview

This tutorial explains how to reduce JavaScript bundle size by using Firestore Lite for initial, one-time data loads and loading the full Firestore SDK later when real-time updates are needed. Its demo apps report bundle-size reductions of over 70% and initial load-time reductions by half.

## Source excerpt

A lightweight, standalone REST-only Firestore SDK at a fraction of the regular Web SDK size.