nwutils / nw-vue-cli-example

NW.js, Vue-CLI 4, Vue-DevTools
https://nwutils.io
MIT License
105 stars 17 forks source link

Exclude or Ignore some directories or files from the build #39

Closed Xsmael closed 2 years ago

Xsmael commented 2 years ago

Hello,

Is there a way to ignore some files or directories from the build ? i have a case where i need this kind of feature, that'll be quite handy, otherwiser, we have to do it manually everytime we build, but we need the files back, for development.

Thanks!

TheJaredWilcurt commented 2 years ago

Automated build uses nwjs-builder-phoenix. It's options are here:

Xsmael commented 2 years ago

Thanks! that works for me, also I noticed in package.json there is a properter excludeFiles, that holds and array of paths to exclude.