build.config.js 606 B

123456789101112131415161718
  1. const path = require('path')
  2. const dependencies = require('../package.json')
  3. /**
  4. * `electron-packager` options
  5. * https://simulatedgreg.gitbooks.io/electron-vue/content/en/using-electron-packager.html
  6. */
  7. module.exports = {
  8. arch: 'ia32',
  9. asar: false, //{ unpack: "**/bin/**"},
  10. dir: path.join(__dirname, '../'),
  11. icon: path.join(__dirname, '../build/icons/icon'),
  12. ignore: /(^\/(src|test|\.[a-z]+|README|yarn|static|dist\/web))|\.gitkeep/,
  13. out: path.join(__dirname, '../build'),
  14. overwrite: true,
  15. platform: process.env.BUILD_TARGET || 'all',
  16. appCopyright: dependencies.softInfo.copyright
  17. }