We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
https://developers.weixin.qq.com/miniprogram/dev/devtools/project.html#%E6%9C%AC%E5%9C%B0%E8%AE%BE%E7%BD%AE
上传时进行代码保护 开启此选项,开发者工具会尝试对项目代码进行保护,主要是对文件进行扁平化处理并替换 require 引用的文件名,以下情况不适合使用此功能 对于小程序只有简单页面的情况下,开启此功能效果不佳 有文件超过 500kb,且其中有使用 require 引用项目中的文件的情况,在运行时可能会报文件没有找到 动态引用的情况,如 var a = 'somefile.js'; require(a); 将 require 函数赋值给其他变量的情况,如 var a = require; a('somefile.js'); 将 require 作为二元运算符的参数的情况,如 require + 1; 使用 ... 运算符且未开启 ES6 转 ES5 的情况
上传时进行代码保护 开启此选项,开发者工具会尝试对项目代码进行保护,主要是对文件进行扁平化处理并替换 require 引用的文件名,以下情况不适合使用此功能
https://runkit-packages.com/14.x.x/1624771579350/miniprogram-network-life-cycle/dist/index.js 这个是编译后的一部分代码, 除了最后一条不确定前面的应该都不存在。
这个不支持重命名的问题可以问一下小程序的人,可能是工具的bug
前面几条
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: