简体   繁体   中英

Visual Studio 2015 Cordova exclude folder from build

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?

我找到的最终解决方案是将node_modules移动到父目录并修复配置文件中的路径。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM