mozilla / fxa

Monorepo for Mozilla Accounts (formerly Firefox Accounts)
https://mozilla.github.io/ecosystem-platform/
Mozilla Public License 2.0
602 stars 210 forks source link

feat(next): reduce bundle size #18036

Closed StaberindeZA closed 3 days ago

StaberindeZA commented 5 days ago

Because

This pull request

Issue that this pull request solves

Closes: #FXA-10712

Checklist

Put an x in the boxes that apply

Screenshots (Optional)

Memory usage

Before changes image

After changes image

Other information (Optional)

The bundler analyzer can be run with the following command

ANALYZE=true nx build payments-next

Before and after version of the output from the bundle analyzer for the nodejs and client bundles can be found at the Google Drive linked below.