收藏
回答

加固配配置没有合法合法的Js文件?

{
    "desc""关于本文件的更多信息,请参考文档 代码加固开发者文档: https://developers.weixin.qq.com/miniprogram/dev/devtools/code_obfuscation.html",
    "switch"true,
    "configs": [
        
        {
            "path""pages/guess/guess.js",
            "sub_switch"true
        },
        {
            "path""pages/create/create.js",
            "sub_switch"true
        },
        {
            "path""pages/guess/join.js",
            "sub_switch"true
        },
        {
            "path""pages/join/join.js",
            "sub_switch"true
        },
        {
            "path""pages/join/detail.js",
            "sub_switch"true
        },
        {
            "path""pages/list/list.js",
            "sub_switch"true
        }
    ]
}
加固配置文件如上,调试基础库V2.30.2 devtool-code-obfuscation V0.1.0  开发工具 1.06 稳定版
回答关注问题邀请回答
收藏

1 个回答

  • C.ROBBER🥤
    C.ROBBER🥤
    2023-05-20
    {
        "miniprogramRoot""miniprogram/",
        "cloudfunctionRoot""cloudfunctions/",
        "setting": {
            "urlCheck"true,
            "es6"true,
            "enhance"true,
            "postcss"true,
            "preloadBackgroundData"false,
            "minified"true,
            "newFeature"true,
            "coverView"true,
            "nodeModules"false,
            "autoAudits"false,
            "showShadowRootInWxmlPanel"true,
            "scopeDataCheck"false,
            "uglifyFileName"true,
            "checkInvalidKey"true,
            "checkSiteMap"true,
            "uploadWithSourceMap"true,
            "compileHotReLoad"false,
            "lazyloadPlaceholderEnable"false,
            "useMultiFrameRuntime"true,
            "useApiHook"true,
            "useApiHostProcess"true,
            "babelSetting": {
                "ignore": [],
                "disablePlugins": [],
                "outputPath"""
            },
            "enableEngineNative"false,
            "useIsolateContext"true,
            "userConfirmedBundleSwitch"false,
            "packNpmManually"true,
            "packNpmRelationList": [
                {
                    "packageJsonPath""./package.json",
                    "miniprogramNpmDistDir""./miniprogram"
                }
            ],
            "minifyWXSS"true,
            "disableUseStrict"false,
            "showES6CompileOption"false,
            "useCompilerPlugins"false,
            "minifyWXML"true,
            "condition"false
        },
        "appid""####",
        "projectname""quickstart-wx-cloud",
        "libVersion""2.14.1",
        "cloudfunctionTemplateRoot""cloudfunctionTemplate/",
        "condition": {
            "search": {
                "list": []
            },
            "conversation": {
                "list": []
            },
            "plugin": {
                "list": []
            },
            "game": {
                "list": []
            },
            "miniprogram": {
                "list": []
            }
        },
        "srcMiniprogramRoot""miniprogramRoot/",
        "compileType""miniprogram",
        "packOptions": {
            "ignore": [],
            "include": []
        },
        "editorSetting": {
            "tabIndent""insertSpaces",
            "tabSize"4
        }
    }
    
    y云开发的,,,
    
    2023-05-20
    有用 1
    回复
登录 后发表内容