提交 a76b52aa 作者: 毛细亚

更新success配置

上级 b2737023
......@@ -2,4 +2,5 @@
node_modules/
dist/*
src/*/
.vscode/*
......@@ -9,7 +9,7 @@ module.exports = {
debugProtection: false,// 此选项几乎不可能使用开发者工具的控制台选项卡
debugProtectionInterval: false,// 如果选中,则会在“控制台”选项卡上使用间隔强制调试模式,从而更难使用“开发人员工具”的其他功能。
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 相同 但是字母会被打乱
// identifiersDictionary:['_zw_,_mxy_,_zwan_,-nzy_'],//dictionary选项设置标识符字典。字典中的每个标识符将用于几个变体,每个字符的大小写不同。因此,字典中标识符的数量应取决于原始源代码中的标识符数量。
identifiersPrefix:'_mxy_',//全局标识符添加特定前缀,在混淆同一页面上加载的多个文件时使用此选项。此选项有助于避免这些文件的全局标识符之间发生冲突。为每个文件使用不同的前缀
......
const fileList = ['/subpackage/main.min.js'] // 根目录为src文件夹
module.exports = {
fileList,
}
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论