Registry Mirror
Skip to content

Conversation

@anurag629

Copy link
Copy Markdown
Member

What does this change?

The size and language numbers on the site and in the widget README disagreed with each other and with the build:

Where Said Now says
Site hero ~7KB gzipped Under 5 kB on page load
Site features, Zero Dependencies ~7KB gzipped Under 5 kB gzipped on page load, and the chat loads when it's opened
Site features, i18n 8 built-in locales 14 languages built in
packages/widget/README.md intro ~13KB gzipped launcher under 5 kB gzipped, chat panel about 19 kB on open
packages/widget/README.md features Ships in English English plus 13 translations

The root README already said "under 5 kB", which is right. The core README's "8 built-in locales" is about @chatcops/core's own getLocale, which does have 8, so it stays.

How I tested this

  • Built the packages on dev and ran pnpm size: the script tag loader is 4.95 kB gzipped, the chat panel 19.04 kB, the single file build 22.39 kB.
  • Counted the translations: packages/widget/src/locales has 13 files on both dev and production, the i18n docs table lists 14 languages with English, and @chatcops/widget 1.1.1 on npm exports them.
  • Docs only, so no changeset.

The site said ~7KB gzipped and 8 built-in locales, and the widget README
said ~13KB and English only. The script tag loader is 4.95 kB gzipped and
the chat panel, loaded on open, is 19 kB. The widget ships English plus 13
translations.
@anurag629
anurag629 merged commit 0db15fe into dev Nov 15, 2026
@anurag629
anurag629 deleted the docs/accurate-size-and-languages branch November 15, 2026 19:50
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.

1 participant