Skip to content

Remove country-flag-emoji-polyfill global polyfill - #13

Merged
Igloczek merged 5 commits into
masterfrom
task/015-remove-flag-emoji-polyfill
Jun 30, 2026
Merged

Igloczek merged 5 commits into
masterfrom
task/015-remove-flag-emoji-polyfill

Conversation

@Igloczek

@Igloczek Igloczek commented Jun 30, 2026 •

Copy link
Copy Markdown
Collaborator

Implements tasks/015-remove-flag-emoji-polyfill.md from the ponytail audit backlog.

Goal

Stop loading a global polyfill on every page for Windows flag emoji gaps.

Scope

  • Remove polyfillCountryFlagEmojis() call from src/App.vue.
  • Remove country-flag-emoji-polyfill from package.json.
  • Accept native flag emoji rendering (or add targeted CSS sprites later — out of scope unless regressions are unacceptable).

Acceptance criteria

  • country-flag-emoji-polyfill absent from package.json and bun.lock.
  • App boots without import errors.
  • Language/locale picker still usable (flags may be letter codes on Windows — document in PR if needed).
  • bun run build:frontend succeeds.

Depends on

Nothing.

Verification

bun run build:frontend
rg "country-flag-emoji-polyfill|polyfillCountryFlagEmojis" src package.json

Audit reference

Finding #24 — country-flag-emoji-polyfill.

@Igloczek

Copy link
Copy Markdown
Collaborator Author

/ponytail-review

Lean already. Ship. — net deletion only; no new abstractions or dependencies.

4 files changed, 36 insertions(+), 42 deletions(-)

@Igloczek
Igloczek force-pushed the task/015-remove-flag-emoji-polyfill branch 3 times, most recently from b58e356 to 62bff58 Compare June 30, 2026 12:21
Igloczek added 5 commits June 30, 2026 14:21
Stop loading country-flag-emoji-polyfill on every page boot. Native flag
emoji rendering is sufficient; Windows may show two-letter regional codes
instead of flag glyphs.

Task 015 — audit finding #24.
@Igloczek
Igloczek force-pushed the task/015-remove-flag-emoji-polyfill branch from 62bff58 to 43d406a Compare June 30, 2026 12:23
@Igloczek
Igloczek merged commit 0f9f95a into master Jun 30, 2026
@Igloczek
Igloczek deleted the task/015-remove-flag-emoji-polyfill branch June 30, 2026 12:58
Igloczek added a commit that referenced this pull request Aug 8, 2026
Remove country-flag-emoji-polyfill global polyfill
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