@lexical/internal
[!WARNING] This package contains internal utilities shared across the Lexical packages:
invariant/devInvariant, dev/prod error- and warning-message formatting,warnOnlyOnce, and theLEXICAL_VERSIONconstant. These are bound to the build's transforms and are inlined into every other package rather than shipped as a runtime dependency, so it is published only so the modules resolve through normal package resolution — including thesourceexport condition used when developing against a linked checkout.It is not a public API. Import from
lexicaland the@lexical/*feature packages instead. Nothing here follows semver and any export may change or disappear without notice.