Skip to content

Upgrade from 9.10.0 to 10.11.0 leads to 46kB increase in bundle size #8171

@GaurangTandon

Description

@GaurangTandon

Operating System

macOS

Browser Version

Chrome 123

Firebase SDK Version

10.11.0

Firebase SDK Product:

Auth, Firestore, Functions

Describe your project's tooling

React app with create-react-app default configuration.

Describe the problem

When upgrading from 9.10.0 to 10.11.0, I notice the bundle size is increased by 46606 bytes. This is a huge increase and it's unclear why it has happened, given that we are still using the same functions and interfaces as before.

I did run webpack-bundle-analyzer and couldn't find anything different in the bundle structure.

This is the new bundle:

This is the old bundle:

All components have increased in size proportionately. There's no one bundle that seems to jump out.

Steps and code to reproduce issue

You can create a create-react-app project with the relevant firebase products (auth/firestore/functions) and build it with 9.10.0 and 10.11.0 and notice the difference in bundle size.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions