I\'ve run into a curious issue - apparently some Node.js module have so deep folder hierarchies that Windows copy command (or PowerShell\'s C
1) During release build, You can prevent Visual studio scanning these files / folder by setting the folder properties as a Hidden folder (JUST set it to node_modules). Reference: http://issues.umbraco.org/issue/U4-6219#comment=67-19103
2) You can exclude files or folder that are published during packaging by including following XML node in the CsProject file.
...
bin\
42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
File1.aspx;File2.aspx
Folder1;Folder2