Skip to content

Conversation

@jorgemanrubia
Copy link
Member

@jorgemanrubia jorgemanrubia commented Jan 5, 2026

This removes DEVELOPMENT flag since it changes Lexical behavior. In development mode, Lexical freezes the selection objects, which could produce errors like:

TypeError: Cannot assign to read only property '_cachedNodes' of object '#<_NodeSelection>'

See #507 (comment)

Also, always generate source maps

In development mode, Lexical freezes the selection objects, including _cachedNodes. When your code tried to modify _cachedNodes, it threw:

  TypeError: Cannot assign to read only property '_cachedNodes' of object '#<_NodeSelection>'

Related #507 (comment)

Also, always generate source maps
@jorgemanrubia jorgemanrubia merged commit 87321fe into main Jan 5, 2026
5 checks passed
@jorgemanrubia jorgemanrubia deleted the build-issues branch January 5, 2026 12:14
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.

2 participants