开发者工具上传包小于4M,大于2M提示包太大错误?

小程序 文章 2020-09-09 11:21 1039 0 全屏看文

AI助手支持GPT4.0

开发者工具上传包小于4M,大于2M提示包太大错误?The developer tool upload package is less than 4M, and the package is too large error if it is greater than 2M?

开发者工具上传包小于4M,大于2M提示包太大错误?

微信开发者工具中,同样的源码,现在点击 预览 或者 真机调试 或者 上传 操作,都提示包大小为2.4M超过2M上限。

请问小程序最大的包大小不是4M吗?

这个问题如何解决,急等


In the wechat developer tool, for the same source code, if you click preview or real machine debugging or upload operation, you will be prompted that the package size is 2.4m, exceeding the upper limit of 2m. Is not the maximum packet size of the applet 4m? How to solve this problem

回答:

xy:

做分包呀

Admin²⁰²⁰:

这个有个单个包和总包大小(所有分包和主包大小的总和)的概念

你说的4M应该是调整前的总包大小(目前总包大小限制已经升级到10M还是多少M来的)

单包大小一直是限制2M的

拾忆:

小程序一直是2m

-EOF-

AI助手支持GPT4.0