encrypt.js 360 B

12345678910111213
  1. /**
  2. * 加密配置
  3. * @param {String} type - bytecode || confusion || strict (first confusion and then bytecode)
  4. * @param {Array} directory - directory to be encrypted
  5. * @param {Array} fileExt - file suffix to be encrypted, currently only .js is supported
  6. */
  7. module.exports = {
  8. type: 'bytecode',
  9. directory: [
  10. 'electron'
  11. ],
  12. fileExt: ['.js'],
  13. };