Delete node_modules from SPFx solution (rimraf)
In this SharePoint tutorial, we will discuss how to delete node_modules from SharePoint Framework (SPFx) solutions. We will see how to use the rimraf cmdlet to do this. Here, we will see different ways to delete the node_modules folder. By default, when you create an SPFx solution, it adds the node_modules, which is very large. … read more…