Skip to content

Conversation

@kevinxh
Copy link
Contributor

@kevinxh kevinxh commented Nov 3, 2025

Bundle Size Changes

Files with Size Changes

CJS Files

File Before After Change
lib/helpers.cjs.js 136K 120K -16K
lib/index.cjs.js 433K 246K -187K
lib/shopperBaskets.cjs.js 155K 105K -50K
lib/shopperBasketsv2.cjs.js 155K 105K -50K
lib/shopperConsents.cjs.js 77K 74K -3K
lib/shopperContext.cjs.js 81K 76K -5K
lib/shopperCustomers.cjs.js 135K 98K -37K
lib/shopperExperience.cjs.js 78K 74K -4K
lib/shopperGiftCertificates.cjs.js 75K 73K -2K
lib/shopperLogin.cjs.js 104K 87K -17K
lib/shopperOrders.cjs.js 90K 79K -11K
lib/shopperProducts.cjs.js 82K 76K -6K
lib/shopperPromotions.cjs.js 77K 74K -3K
lib/shopperSearch.cjs.js 80K 74K -6K
lib/shopperSeo.cjs.js 75K 73K -2K
lib/shopperStores.cjs.js 77K 74K -3K

Summary

Total files analyzed: 42
Files changed: 32

Biggest improvements:

  1. lib/index.cjs.js & lib/index.esm.js: -187K each (43% reduction)
  2. lib/shopperBaskets.cjs.js & lib/shopperBaskets.js: -50K each (32% reduction)
  3. lib/shopperBasketsv2.cjs.js & lib/shopperBasketsv2.js: -50K each (32% reduction)
  4. lib/shopperCustomers.cjs.js & lib/shopperCustomers.js: -37K each (27% reduction)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants