I want to have a separate directory such as /lib/node_modules from where my create-react-app should refer to. Not instead of parent react directory...
You can do this by using windows symbolic links. refer to this website - creating symbolic links . I used (J) as it stands for directory junction. Code to run on windows terminal:-
mklink /J "path\name of the creating folder" "path\name of the original folder"
for more info - watch
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.