Skip to content

feat(desktop): add core-js polyfill#7043

Open
Nixieboluo wants to merge 1 commit into
labring:release-v5.1from
Nixieboluo:feat/v5.1/desktop-js-polyfill
Open

feat(desktop): add core-js polyfill#7043
Nixieboluo wants to merge 1 commit into
labring:release-v5.1from
Nixieboluo:feat/v5.1/desktop-js-polyfill

Conversation

@Nixieboluo

Copy link
Copy Markdown
Collaborator

Summary

Adds a CoreJS polyfill to the desktop app entrypoint so the client bundle has stable JavaScript runtime APIs available in older Chromium-based browsers.

Changes included:

  • Adds core-js@3.33.3 as a direct desktop dependency
  • Imports core-js/stable at the top of desktop/src/pages/_app.tsx
  • Updates the lockfile importer entry for desktop

Compatibility

This targets Chrome 86 and newer.

The polyfill is loaded before the desktop app initializes, so stable ECMAScript APIs provided by CoreJS are available across the desktop client runtime. This is intended to support
environments based on Chromium 86, including Chrome 86 and compatible embedded Chromium/WebView runtimes.

@Nixieboluo Nixieboluo requested a review from a team as a code owner July 3, 2026 07:55
@Nixieboluo

Copy link
Copy Markdown
Collaborator Author

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant