提交 a76b52aa 作者: 毛细亚

更新success配置

上级 b2737023
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
node_modules/ node_modules/
dist/* dist/*
src/*/ src/*/
.vscode/*
...@@ -9,7 +9,7 @@ module.exports = { ...@@ -9,7 +9,7 @@ module.exports = {
debugProtection: false,// 此选项几乎不可能使用开发者工具的控制台选项卡 debugProtection: false,// 此选项几乎不可能使用开发者工具的控制台选项卡
debugProtectionInterval: false,// 如果选中,则会在“控制台”选项卡上使用间隔强制调试模式,从而更难使用“开发人员工具”的其他功能。 debugProtectionInterval: false,// 如果选中,则会在“控制台”选项卡上使用间隔强制调试模式,从而更难使用“开发人员工具”的其他功能。
log: true,// 是否允许将信息记录到控制台。 log: true,// 是否允许将信息记录到控制台。
disableConsoleOutput: false,// 通过用空函数替换它们来禁用console.log,console.info,console.error和console.warn。这使得调试器的使用更加困难。 disableConsoleOutput: true,// 通过用空函数替换它们来禁用console.log,console.info,console.error和console.warn。这使得调试器的使用更加困难。
// identifierNamesGenerator: 'mangled-shuffled', //标识符的混淆方式 hexadecimal(十六进制) mangled(短标识符) dictionary 需要与identifiersDictionary同时使用 mangled-shuffled 和 mangled 相同 但是字母会被打乱 // identifierNamesGenerator: 'mangled-shuffled', //标识符的混淆方式 hexadecimal(十六进制) mangled(短标识符) dictionary 需要与identifiersDictionary同时使用 mangled-shuffled 和 mangled 相同 但是字母会被打乱
// identifiersDictionary:['_zw_,_mxy_,_zwan_,-nzy_'],//dictionary选项设置标识符字典。字典中的每个标识符将用于几个变体,每个字符的大小写不同。因此,字典中标识符的数量应取决于原始源代码中的标识符数量。 // identifiersDictionary:['_zw_,_mxy_,_zwan_,-nzy_'],//dictionary选项设置标识符字典。字典中的每个标识符将用于几个变体,每个字符的大小写不同。因此,字典中标识符的数量应取决于原始源代码中的标识符数量。
identifiersPrefix:'_mxy_',//全局标识符添加特定前缀,在混淆同一页面上加载的多个文件时使用此选项。此选项有助于避免这些文件的全局标识符之间发生冲突。为每个文件使用不同的前缀 identifiersPrefix:'_mxy_',//全局标识符添加特定前缀,在混淆同一页面上加载的多个文件时使用此选项。此选项有助于避免这些文件的全局标识符之间发生冲突。为每个文件使用不同的前缀
...@@ -24,7 +24,7 @@ module.exports = { ...@@ -24,7 +24,7 @@ module.exports = {
// splitStrings:true,//将文字字符串拆分为具有splitStringsChunkLength选项值长度的块。 // splitStrings:true,//将文字字符串拆分为具有splitStringsChunkLength选项值长度的块。
// splitStringsChunkLength:0.5,//设置splitStrings选项的块长度。 // splitStringsChunkLength:0.5,//设置splitStrings选项的块长度。
stringArrayEncoding: ['none'], stringArrayEncoding: ['none'],
stringArrayThreshold:0, stringArrayThreshold:0,
stringArrayIndexShift:true,// 为所有字符串数组调用启用额外的索引移位 stringArrayIndexShift:true,// 为所有字符串数组调用启用额外的索引移位
stringArrayShuffle:true,//随机打乱stringArray数组项。 stringArrayShuffle:true,//随机打乱stringArray数组项。
// stringArrayWrappersCount:1,//设置string array每个根或函数作用域内部的包装器计数。每个范围内的实际包装器数量literal受此范围内节点数的限制。 // stringArrayWrappersCount:1,//设置string array每个根或函数作用域内部的包装器计数。每个范围内的实际包装器数量literal受此范围内节点数的限制。
......
const fileList = ['/subpackage/main.min.js'] // 根目录为src文件夹 const fileList = ['/subpackage/main.min.js'] // 根目录为src文件夹
module.exports = { module.exports = {
fileList, fileList,
} }
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论