I have a Cordova project in Visual Studio 2015.
I've added some node modules, which doesn't display in project (in VS), but exists on disk, when all other files in project folder were added there by default without excluding.
So now I need a way to exclude node_modules
from build, 'cause there're just dev tools (autoprefixer, less, watch, etc.), in case of that generated apk file size increases, which's not applicable for me (total size ~10MB, without node_modules - only 3MB). Does it really possible to do that without physical removing that folder? Maybe I don't know about some configurations or so on?
Asked
Active
Viewed 117 times
1

Andrey Carter
- 25
- 8
-
As far as I know, there is no such configurations in visual studio 2015. – Elvis Xia - MSFT May 30 '16 at 09:27
1 Answers
0
Final solution I found was to move node_modules
to parent directory and fix paths in config files.

Andrey Carter
- 25
- 8