mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
simplify npm link script a little bit (#7862)
We don't need to remove the folders before linking the modules
This commit is contained in:
@@ -116,8 +116,6 @@ If you want to try your changes in your existing React project, you may copy `bu
|
||||
|
||||
```sh
|
||||
cd your_project
|
||||
rm -rf node_modules/react
|
||||
rm -rf node_modules/react-dom
|
||||
npm link ~/path_to_your_react_clone/build/packages/react
|
||||
npm link ~/path_to_your_react_clone/build/packages/react-dom
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user