Skip to content

web端引入libpag.wasm 文件体积过大 有什么解决办法么 #1719

Answered by domchen
zxcv66666 asked this question in Q&A
Discussion options

You must be logged in to vote

web环境的限制并没有十全十美的方案。开启gzip确实是有效的降低方式,但gzip后的900k这个是全功能版本的极限大小,没办法再减小了。还有就是采用只支持BMP预合成的lite版本,那个只有几十K。再不适用就要考虑采用别的方案。

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@yangchongduo
Comment options

@baiyang9-tal
Comment options

@domchen
Comment options

Answer selected by domchen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants