encrypt.js 428 B

1234567891011121314151617181920
  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. '!electron/config/builder.json',
  12. ],
  13. fileExt: ['.js'],
  14. confusionOptions: {
  15. compact: true,
  16. stringArray: true,
  17. stringArrayEncoding: ['none'],
  18. deadCodeInjection: false,
  19. }
  20. };