From 9b908a0942a29477ea75f702f8931f99c22f2593 Mon Sep 17 00:00:00 2001 From: Andrew Bulat Date: Thu, 21 Mar 2024 15:17:55 +0000 Subject: [PATCH] Update bundle size reduction info after latest changes --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 360d9a2b3..179420f7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,9 +12,9 @@ Please refer to the ably-js v2 [lib migration guide](./docs/migration-guides/v2/ ### Bundle Size Reduction -The default bundle size for the web has been reduced by 30% compared to v1 - from 231.35 KiB to 162.15 KiB. When calculated with gzip compression, the reduction is 28.5%, from 81.68 KiB to 58.48 KiB. +The default bundle size for the web has been reduced by ~32% compared to v1 - from 234.11 KiB to 159.32 KiB. When calculated with gzip compression, the reduction is ~30%, from 82.54 KiB to 57.9 KiB. -Additionally, by utilizing the new modular variant of the library (see below) and JavaScript tree shaking, you can create your own minimal useful `Realtime` client and achieve a bundle size reduction of 60% compared to v1 - from 231.35 KiB to 93.29 KiB (or 65% for gzip: from 81.68 KiB to 28.29 KiB). +Additionally, by utilizing the new modular variant of the library (see below) and JavaScript tree shaking, you can create your own minimal useful `Realtime` client and achieve a bundle size reduction of ~60.5% compared to v1 - from 234.11 KiB to 92.38 KiB (or ~66% for gzip: from 82.54 KiB to 28.18 KiB). ### Modular variant of the library