Skip to content

fix(ui-babel-preset): fix Cannot find package 'core-js' errors#2548

Merged
matyasf merged 1 commit into
masterfrom
fix_build
May 8, 2026
Merged

fix(ui-babel-preset): fix Cannot find package 'core-js' errors#2548
matyasf merged 1 commit into
masterfrom
fix_build

Conversation

@matyasf

@matyasf matyasf commented May 8, 2026

Copy link
Copy Markdown
Collaborator

core-js was fixing really niche bugs in the code e.g. map.getOrInsertComputed, map.getOrInsert not working perfectly in browsers and an exotic Safari bug https://bugs.webkit.org/show_bug.cgi?id=309342 that is fixed in Webkit nightly.

Remove core-js because its no longer needed

To test:
Build the lib and check files in the /es/ and /lib/ folders, they should not contain any core-js imports. Its bad in the latest PROD version, see https://www.npmjs.com/package/@instructure/ui-dom-utils/v/11.7.3?activeTab=code -> here open /@instructure/ui-dom-utils/es/isDefinedCustomElement.js

core-js was fixing really niche bugs in the code ze.g. map.getOrInsertComputed, map.getOrInsert and
an exotic Safari bug https://bugs.webkit.org/show_bug.cgi?id=309342 that is fixed in Webkit nightly.
Remove core-js because its no longer needed
@matyasf matyasf self-assigned this May 8, 2026
@matyasf matyasf requested review from ToMESSKa and git-nandor May 8, 2026 12:02
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-05-08 12:57 UTC

github-actions Bot pushed a commit that referenced this pull request May 8, 2026
…) f60cbadb72d7f9fab07fd6fa583fde4ec4e20cfc
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

Visual regression report

No changes.

Status Count
Unchanged 32
Changed 0
New 0
Removed 0

📊 View full report

Baselines come from the visual-baselines branch. They refresh on every merge to master.

@matyasf matyasf merged commit 0966e5e into master May 8, 2026
8 checks passed
@matyasf matyasf deleted the fix_build branch May 8, 2026 12:57
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.

3 participants