mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
20 lines
428 B
JavaScript
20 lines
428 B
JavaScript
/**
|
|
* 加密配置
|
|
* @param type - confusion | bytecode | strict
|
|
*/
|
|
module.exports = {
|
|
type: 'confusion',
|
|
files: [
|
|
'electron/**/*.(js|json)',
|
|
'!electron/config/encrypt.js',
|
|
'!electron/config/nodemon.json',
|
|
'!electron/config/builder.json',
|
|
],
|
|
fileExt: ['.js'],
|
|
confusionOptions: {
|
|
compact: true,
|
|
stringArray: true,
|
|
stringArrayEncoding: ['none'],
|
|
deadCodeInjection: false,
|
|
}
|
|
}; |