encrypt.js 427 B

12345678910111213141516171819202122
  1. /**
  2. * 加密配置
  3. * @param type - confusion | bytecode | strict
  4. */
  5. module.exports = {
  6. type: 'confusion',
  7. files: [
  8. 'electron/**/*.(js|json)',
  9. '!electron/config/encrypt.js',
  10. '!electron/config/nodemon.json'
  11. ],
  12. cleanFiles: [
  13. 'electron',
  14. ],
  15. fileExt: ['.js'],
  16. confusionOptions: {
  17. compact: true,
  18. stringArray: true,
  19. stringArrayEncoding: ['none'],
  20. deadCodeInjection: false,
  21. }
  22. };