Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 251 Bytes

File metadata and controls

7 lines (5 loc) · 251 Bytes

Section 2.7: Removing extraneous packages

To remove extraneous packages (packages that are installed but not in dependency list) run the following command:

  • npm prune

To remove all dev packages add --production flag:

  • npm prune --production