Regarding the problem that the WeChat applet cannot be uploaded due to the excessive code size when using uview

1. Find Run, run to the mini program simulator, and click Compress Code

ps: Do not turn on this option normally, as it will slow down the hot deployment of the project.

 

2. Click Details in the WeChat applet and choose to compress the code when uploading

ps: When using uview, it will eventually be loaded into the main package, so if the package size is too large, try to use sub-packaging to reduce the package size.

 

Guess you like

Origin blog.csdn.net/lfeishumomol/article/details/131062863