Closed etrepum closed 2 weeks ago
/cc @acywatson @StyleT @thegreatercurve
It's a bummer :( Let me take a look
Ok, so @lexical/devtools-core
was never published. And it's version it behind the pack.
This immediate issue shall be fixed in #5902 and then we need to fix publish scripts
The v0.14.5 release fixes this with next.js, I will verify that the other minimal framework examples still work and confirm shortly
Confirmed that v0.14.5 is working with my sveltekit and astro examples as well! Closing as fixed 💯
Lexical version: 0.14.4
Steps To Reproduce
Link to code example:
https://github.com/etrepum/lexical-esm-nextjs but anything that imports @lexical/react/LexicalTreeView should demonstrate the problem
The current behavior
Tries to import from @lexical/devtools-core which is not published yet
The expected behavior
It should not import @lexical/devtools-core, or that package should be published and @lexical/react should have a dependency on it
Root cause
blame of packages/lexical-react/src/LexicalTreeView.tsx shows that this was last added in this commit: https://github.com/facebook/lexical/commit/c0cca39759172d5fa51f49842f39ab75c7adc767