使电子应用更小? [英] Make electron app smaller?

查看:64
本文介绍了使电子应用更小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近刚刚构建了一个电子应用程序,并使用电子打包程序对其进行了打包。 .exe文件为55,000kb,文件夹的其余部分也非常庞大。

I just recently built an electron app and packaged it using electron-packager. The .exe file is 55,000kb and the rest of the folder is quite bulky as well. Is there any way to take down the size of this application at all?

推荐答案

这是一个 github问题

我要强调的是:


这是预期的大小,无法缩小。

That's the expected size, there is no way to make it smaller.

之所以如此之大,是因为电子在该50mb文件中装载了大部分铬。

The reason why it's so big is because electron is loading most of chromium inside that 50mb file.

因此,不幸的是,没有使它变小的方法对不起。

So no unfortunately there is no way to make it smaller sorry.

这篇关于使电子应用更小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆