DEV Community

Mayank
Mayank

Posted on

Answer: Why are there zombie packages in my yarn.lock file?

@dave nicely answered the question. However, there is something more you can do to optimize your packages.

  1. You can use packages like node-prune and ModClean to clean up the unwanted dependencies.

  2. Use --production flag on npm install.

Top comments (0)