peixue-dev/Archive/[一次性]重新编译小程序-使用网络图片-2026-01-31.bat

26 lines
624 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
chcp 65001 >nul
echo ========================================
echo 重新编译小程序(使用网络图片)
echo ========================================
echo.
echo 已完成的优化:
echo ✓ button图片已改用网络地址减少约1.3MB
echo ✓ banner图片已压缩减少约350KB
echo.
echo 正在重新编译...
echo.
cd peidu\uniapp
call npm run dev:mp-weixin
cd ..\..
echo.
echo ========================================
echo 编译完成!
echo 请在微信开发者工具中查看主包大小
echo 预计主包大小约3.5MB
echo ========================================
pause