Closed Itsaadarsh closed 3 years ago
How you got around the thing that these depencencies are not in use?
How you got around the thing that these depencencies are not in use?
Well, VSCode has a powerful searching feature using ctrl + shift + f
you can easily find whatever you want in that folder so I used package.json
as my base and started finding whether the dependencies were in use or not.
This is how I resolved this issue and then finally is checked if something broke in the process but nothing did.
Well, VSCode has a powerful searching feature using ctrl + shift + f you can easily find whatever you want in that folder so I used package.json as my base and started finding whether the dependencies were in use or not.
Good hack, thanks for telling :) It will be useful.
I just removed all the unused dependencies in this repository there were around 30-40 unused dependencies altogether. After removing all the unused dependencies I also updated the
package-lock.json
with sync to thepackage.json
dependencies.I tried removing all the unused react dependencies but the dependency tree issues kept popping so I didn't remove React dependencies.
Then I also ran
npm run format
before sending this pull request.