Skip to content

[lexical-react] Bug Fix: Include react-error-boundary and @floating-ui/react in WWW bundle#7852

Merged
etrepum merged 1 commit intofacebook:mainfrom
etrepum:www-externals
Sep 23, 2025
Merged

[lexical-react] Bug Fix: Include react-error-boundary and @floating-ui/react in WWW bundle#7852
etrepum merged 1 commit intofacebook:mainfrom
etrepum:www-externals

Conversation

@etrepum
Copy link
Copy Markdown
Collaborator

@etrepum etrepum commented Sep 23, 2025

Description

react-error-boundary and @floating-ui/react are external in OSS but should be bundled in WWW. This bundles them in that environment, and ignores any "use client" warnings.

Test plan

Can only be reproduced in the www build at Meta, but npm run build-www works without warning and you can confirm that it does not use an external import when inspecting the build artifacts (e.g. packages/lexical-react/dist/LexicalErrorBoundary.dev.js)

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 23, 2025
@etrepum etrepum added this pull request to the merge queue Sep 23, 2025
Merged via the queue into facebook:main with commit dbf3867 Sep 23, 2025
37 checks passed
@vercel
Copy link
Copy Markdown

vercel bot commented Sep 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
lexical Ready Ready Preview Comment Sep 23, 2025 3:59pm
lexical-playground Ready Ready Preview Comment Sep 23, 2025 3:59pm

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants