Forum Discussion

Deleted's avatar
Deleted
Jan 11, 2018

SharePoint Framework source control

Hi Team

We are developing solutions using SharePoint Framework model. Each developer folder contains all JS libraries.

we want  to check the code into your 'Visual SVN' source control.   The solution folder is more than 200 MB in size. how to clean up and reduce the size of the solution and check in source control. 

 

Any options in Visual Studio Code.

 

1 Reply

  • In your solution folder there will be a subfolder node_modules. Make sure to exclude this folder from source control. When you checkout from source control on a new machine you will run the npm install command to restore the contents.

     

    You can also make sure that build output like bin folders, etc. are not in source control but I am guessing you did that already.

Resources