How to uninstall a package using yarn?
I installed a package using yarn but I found that I haven't used it anywhere inside the project, how can I uninstall it?
1 Answer
4 years ago by Divya
yarn remove [package-name]
Running this command will remove the package from your direct dependencies updating your package.json and yarn.lock files in the process
4 years ago by Divya