Documentation: We need better docs for how to debug changes locally for this library #5596
Open
Description
Problem: I want to make changes to this library and use them in my application.
Steps to reproduce:
- Fork and clone Lexical to a folder called
lexical-npm-library
- cd
lexical-npm-library
- Then make a new react app called 'web-app`
- Then make changes to the code in lexical. Change all instances of
Export DOM
toExport Foo
for the UI button - See the changes reflected in the application
Actual: You don't see the changes
Things I have tried:
- Use npm link
npm link
in the packages/lexical directorynpm link lexical
in the web-app
NOTE: this works for updating the core but I want to update the react module.
Question: How are your internal devs debugging module development locally so I can contribute to this repo?
Thanks in advance!