encrypt.js 390 B

12345678910111213141516171819
  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. fileExt: ['.js'],
  13. confusionOptions: {
  14. compact: true,
  15. stringArray: true,
  16. stringArrayEncoding: ['none'],
  17. deadCodeInjection: false,
  18. }
  19. };